Question
Syntel
US
Last activity: 5 Mar 2019 10:35 EST
How to pass parameters to Assignment from activity?
Hi,
I am trying to pass some parameters from an activity to an assignment. In assignment I am choosing Worklist and then in router I am selecting ToWorkList. See attached snapshot for more details.
I assignment should route to user based on Param.AssignTo.
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Accepted Solution
Areteans
IN
Hi Chintan,
Instead of using Param.AssignTo. Create a Text Property with name AssignTo and set the value of that of property in Activity/DataTransform. So that it will be available in pyWorkPage and you can pass that to your assignment directly.
-Bala
Syntel
US
Thanks Bala, but this will require creating a property, I was wondering if there was a way by which we can directly pass the parameter directly to assignment.
Areteans Tech
AU
Hi , did you try to store in any of the OOTB Property instead . (like pyTempText)
Syntel
US
Thanks Ashok, will try to use it!!
Areteans
IN
Syntel
US
Thanks Kamalesh!!
PAF
US
Hi,
You can try in various ways to get it done:
1) Create Data transform and map in flow connector
2) you can customize router activity and pass the param over there
3) Properties can be created and use it wherever require ( can be used for reporting as well in future to play around)
Regards,
Karthick
Syntel
US
Thanks Karthick!!
Pegasystems Inc.
IN
Define the parameter in the activity and set it as OUT parameter, Also define the parameter in the flow and set it as IN parameter, the parameter gets passed from the activity to flow and you can use that parameter in the assignment routing.
Hope this helps
Syntel
US
Thank You!!
Blue Rose Technologies
BE
in activity we can set using property-set like pyLabel or pyTempText and use in assignment. No need of creating new property.