Hello Forum,
Does anyone know if there is the option to trim an input variable value from a workflow and send it to an specific Infor LN field (f.e. Sales Order Prize)?
Kind regards,
Hello Guillermo, In an ION Workflow, you can use the "TRIM" function for the "Set Parameter" step.More here: https://docs.infor.com/inforos/2023.x/en-us/useradminlib_cloud/default.html?helpcontent=iondeskceug_cloud_osm/lsm1436532191863.htmlYou can start the Workflow from a Document Flow and pass a BOD field as an input parameter. The Workflow can TRIM it and return it back.More details here: https://docs.infor.com/inforos/2023.x/en-us/useradminlib_cloud/default.html?helpcontent=iondeskceug_cloud_osm/lsm1436532182745.html
Maybe you can use an Activation policy: docs.infor.com/.../default.html
Hello Danil,
Really appreciate your answer. I understand your approach of getting an specific field from a BOD and moving into another workflow, but is there any configuration or option to get this parameter and copy its value to an Infor session field.
For example, if i set a parameter of a prize (integer variable) on a workflow, can i overwrite the prize value of an specific Sales Order Line?
Hello Guillermo, No, it is not possible out of the box. However, this topic may be helpful for your use case: https://community.infor.com/infor-ion/f/document-flows/13885/looping-in-ion-connect. Kind regards,Danil.
I am not fully following your requirement... If the desire is to update a BOD element with a new value, then I would go with a Script step. Pass in in the new value, the element path, and the BOD. Script updates the element path with the new value, optionally adds comment of old value or inserts an prior value custom element. Return the new BOD back.
Hello Danil.
Once again, thank you so much for the information! I really find it helpful.
I will try to follow the example with my usecase.
Hello Kevin,
You understood it perfectly. My first idea was to get BOD values on a script and replace them with new ones. The problem that i need to solve is about sending the new BOD(SalesOrder) into LN just to upload the values of a sales order, for example