In a!start process how do we call 2 user and 2 group type parameters from PM.
Do posts code.
Discussion posts and replies are publicly visible
Hi Radha,
a!startProcess and a!startProcessLink, both of them accept params in form of a dictionary. You can just simply create a dictionary with the varibale names as keys and assign a value to it that you want to pass in that variable.
Example - { user1: "benjamin.john", user2: "first.last", group1: cons!FIRST_GROUP, group2: cons!SECOND_GROUP }
{ user1: "benjamin.john", user2: "first.last", group1: cons!FIRST_GROUP, group2: cons!SECOND_GROUP }
Here, user1, user2, group1, group2 are the variable names and then I am passing some value that I want to assign to them.
Thanks,Harshit
So incase of dynamically adding value... I just need to pass ri!user1,ri!user2, ri!group 1and ri!group2...
Right?
Correct!
This is called a map or dictionary
docs.appian.com/.../Expressions.html
Thanks Harshit... One more doubt if am running the process model then it's working fine ..but when am calling in a!startprocess then process initiates but it gets stuck after filling the data ..I have used activity chaining so ideally it should move to next node ...Do you have any suggestions how to make it work...
I mean I need to enter username then click on submit button where have configured startprocess..
a!startProcess starts the process in background. You will not be navigated to any user input task. Regardless of chaining settings.
If you want to use to see any forms, then go with a!startProcessLink.