Passing variables to a Process flow

 3 Replies
 0 Subscribed to this topic
 52 Subscribed to this forum
Sort:
Author
Messages
Ludy
Basic Member Send Private Message
Posts: 21
Basic Member
I have a process flow (#1) and in it, I need to trigger another process flow (#2) and
pass some variables for process flow #2 to use.  How do I do this?
Woozy
Veteran Member Send Private Message
Posts: 709
Veteran Member
Hi Ludy - Are you using "classic" processflow, or the new LPA?

You should be able to use a "WorkObject" node in flow #1 to do this, or you could use an AGS call to WFWK.(1,2,or 3).  The WorkObject option is simpler, but on "classic" pflow I think you can only do a WorkObject call to a service, wheras on LPA you can call a process directly.  Within the WorkObject node, you have the ability to pass variables from the first flow to the second flow/service.

Attached are a couple of screenshots for the WorkObject setup in LPA Designer for Landmark flows.  Classic should be similar.



Attachments
Kelly Meade
J. R. Simplot Company
Boise, ID
John Henley
Send Private Message
Posts: 3351
Ludy, I would recommend using the "Custom Activity" node with the "Flow Runner" activity. It will do exactly what you are asking...
https://www.lawsonguru.co...n-to-the-child-flow/
https://www.lawsonguru.co...w-from-another-flow/

Thanks for using the LawsonGuru.com forums!
John
Ludy
Basic Member Send Private Message
Posts: 21
Basic Member
Thank you John and Woozy for your replies. I tried the WorkObject node and was able to make it
work.

Ludy