infor.com
concierge
infor u
developer portal
Home
Groups
Lawson - Technology Customer Community [READ ONLY]
Pass a Service Variable to a Custom Form in a User Action
acollins
I have a service which kicks off an IPA. There is a service variable (employee number) I want to pass to a Design Studio form. The custom COBOL has multiple Design Studio forms. There is a user action tied to the Design Studio form (through a portal page in PFI). Currently in Process Flow, the value is displayed in the list message which goes away in IPA, and the user enters the value into the custom form. It seems like the value should just be able to be displayed without the user entering it.
If I use "Infor Lawson application" as the Display Type on the user action, I could pass the information in keys. I have multiple custom versions of the form and could set one of the custom forms as the default; however, that would be an issue for the other custom forms which are not the default. Display Type "Infor Lawson Custom form" does not give me the option to pass along the value of the service variable as a key field. Is there a Display Type option would allow me to pass along the field? Do I need to add any javascript to accomplish this? If so, how do I get the value of the service variable?
Find more posts tagged with
Comments
jreese
One issue is that Design Studio cannot read variables stored on WorkUnits in Landmark. Is the trigger for the flow to begin due to some action performed on the S3 side? If it is, then there is a Classic WorkUnit created on the S3 side that stores any initial variables and passes them to a Landmark WorkUnit and you can access variables from the Classic WorkUnit with Design Studio.
Legacy Contributor
If you use "Infor Lawson Custom form" as display option, you also need to create a custom page thru the custom page designer on Design Studio. This is where you will map the service variables.
acollins
Jerome, you are saying click the ellipse on the properties for the portal page to pull up the Data Map dialog box. Do I add the service variable on the right side and click the field on the custom form, the service variable, and the Map button?
acollins
There is an example you can use. Downloads > Products > Technology > Technology Sample Content. I used the PA42 example to get mine working. I had to add the code on the custom form not the portal page just like in that example.
Important Links
Community Hubs
Discussion Forums
Groups
Community News
Popular Tags
ION Connect
ION Workflow
ION API Gateway
Syteline Development
CPQ Discussion Ask a Colleague
Infor Data Fabric
Infor Document Management (IDM)
LN Development
API Usage
FAQs, How-To, and Best Practices