Question
Wipro Limited
IN
Last activity: 13 Mar 2017 6:56 EDT
I have a flow and i need to start it in activity based on the pages of a pagelist property. For each page I have to start the flow as a new wo and I need to pass one property value from the page of pagelist property.
I have a flow and i need to start it in activity based on the pages of pagelist property. For each page I have to start the flow as a new work object and I need to pass one property value from the current page of pagelist property to the current work object that it has created. Please help me how to achieve this?
***Updated by moderator: Lochan to add Categories***
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Accepted Solution
Pegasystems Inc.
IN
pxCreateTopCase is the correct API to use here. It accepts a data transform which can be used to copy the information (Claim number in your case).
Find the attached screenshots below and let us know if this helps :)
Wipro Limited
IN
I have a flow and i need to start it in activity based on the pages of pagelist property. For each page I have to start the flow as a new work object and I need to pass one property value from the current page of pagelist property to the current work object that it has created. Please help me how to achieve this?.
Pegasystems Inc.
US
The svcAddWorkObject is a good example of how to add a work object from an activity. Basically, you need to call createWorkPage to set up your data, call addWork to create the work object, and then commitWithErrorHandling to commit the new work object. In your case, you would need to iterate through your page list.
Wipro Limited
IN
Hi,
Can you please provide some sample code. It will be really helpful for me. Thanks in advance.
I am not getting how to pass parameters from clipboard page to new work object that I have created in activity.
I have a claim number on clipboard and i need to create a work object and need to assign that work object to users by passing this claim number as parameter in activity. User has to see that claim number when he opens that work object. Routing I am aware but not getting about passing parameters to new work object.
Blue Rose Technologies GmbH
DE
You can create a Top level Case using AddWord or pxCreateTopCase activities (information regarding this available in Process -> APIs landing page).
In Top Case:
- You can create multiple sub cases using the Pagelist property. Here you have provision to copy the properties from the pagelist page to sub case.
Wipro Limited
IN
Hi,
Can you please provide some sample code. It will be really helpful for me. Thanks in advance.
I am not getting how to pass parameters from clipboard page to new work object that I have created in activity.
I have a claim number on clipboard and i need to create a work object and need to assign that work object to users by passing this claim number as parameter in activity. User has to see that claim number when he opens that work object. Routing I am aware but not getting about passing parameters to new work object.
Accepted Solution
Pegasystems Inc.
IN
pxCreateTopCase is the correct API to use here. It accepts a data transform which can be used to copy the information (Claim number in your case).
Find the attached screenshots below and let us know if this helps :)
Wipro Limited
IN
Thanks a lot....I got the solution.