Login
Register
Search
Home
Forums
Jobs
LawsonGuru
LawsonGuru Letter
LawsonGuru Blog
Worthwhile Reading
Infor Lawson News Feed
Store
Store FAQs
About
Forums
Integration / Customization
IPA/ProcessFlow
CustomActivity node with a FlowRunner activity - How to pass information to the child flow?
Home
Forums
Jobs
LawsonGuru
LawsonGuru Letter
LawsonGuru Blog
Worthwhile Reading
Infor Lawson News Feed
Store
Store FAQs
About
Who's On?
Membership:
Latest:
BDell92
Past 24 Hours:
0
Prev. 24 Hours:
0
Overall:
5275
People Online:
Visitors:
297
Members:
0
Total:
297
Online Now:
New Topics
Lawson S3 Financials
Applying credits to open AP invoices
4/28/2025 1:26 PM
Hello, I am new to the Lawson system and after ru
Lawson S3 Financials
Lawson APIA
4/28/2025 1:22 PM
Has anybody recently installed Lawson's APIA m
Lawson S3 Procurement
Tolerance Settings
3/31/2025 2:01 PM
I've been trying to set a tolerance for some t
Dealing with Lawson / Infor
Printing Solutions other than MHC
3/27/2025 1:00 PM
What are others using for printing solutions besid
Lawson S3 Procurement
Green check marks in Lawson 9.0.1
3/20/2025 4:55 PM
Hi, How to remove green check mark on items when o
Lawson S3 HR/Payroll/Benefits
Pay Rate History to Show All Positions
2/26/2025 3:34 PM
Does anyone know how to modify payratehistory.htm
Infor CloudSuite
How to build a Pre-Prod tenant
2/7/2025 1:28 AM
After we finished our implementation and ended our
Lawson S3 Procurement
Browser issue with RQC Shopping
1/28/2025 5:49 PM
Since the recent Chrome/Edge updates, our RQC shop
Lawson S3 Procurement
S3-Procurement New Company
1/22/2025 10:38 PM
My Accounting Department has created a new Company
S3 Customization/Development
JUSTIFIED RIGHT
1/15/2025 7:41 PM
Is there a way in Lawson COBOL to make a character
Top Forum Posters
Name
Points
Greg Moeller
4184
David Williams
3349
JonA
3291
Kat V
2984
Woozy
1973
Jimmy Chiu
1883
Kwane McNeal
1437
Ragu Raghavan
1375
Roger French
1315
mark.cook
1244
Forums
Filtered Topics
Unanswered
Unresolved
Announcements
Active Topics
Most Liked
Most Replies
Search Forums
Search
Advanced Search
Topics
Posts
Prev
Next
Forums
Integration / Customization
IPA/ProcessFlow
CustomActivity node with a FlowRunner activity - How to pass information to the child flow?
Please
login
to post a reply.
6 Replies
0
Subscribed to this topic
52 Subscribed to this forum
Sort:
Oldest First
Most Recent First
Author
Messages
Jose Gonzo
Basic Member
Posts: 20
9/11/2012 7:04 PM
I am developing a flow that uses a CustomActivity node with a FlowRunner activity to call another flow. The Action on the Custom Activity is runFlow.
The issue I am having is that I haven't found a way to pass information from the Main flow to the Child flow. Any suggestions on how to do this?
I've tried to use the flowInputData property on the Input section of the CustomActivity on the main flow, but don't know how to read that property on the Child flow.
Thanks for all your help. Have a great day.
BarbR
New Member
Posts: 0
9/12/2012 10:45 AM
Split
You can do this with the WorkObject node, and triggering a Service. The service should have variables defined. On the node General tab you would select the service you want to trigger, and you'd use the node's Variables tab to variables and values.
BarbR
New Member
Posts: 0
9/12/2012 10:47 AM
Split
FYI - If you haven't defined a service, service variables, service criteria, and service process before - come back.
Jose Gonzo
Basic Member
Posts: 20
9/12/2012 11:57 AM
Split
Thank you for your reply. How do you code a 'Service'? Can it be coded in .Net?
Thanks for all your help. Have a great day.
BarbR
New Member
Posts: 0
9/12/2012 12:12 PM
Split
This is the beauty of Lawson Process Flow services - no coding at all!
Open the ProcessFlow Administration Tool (your server/bpm/menu.do)
1. Services - Service Definition. This defines the service your parent flow is going to trigger. Enter a Service name (ChildSvc), product ERP-ERP, Status 1-Enabled, a Description, ADD.
2. Services - Service Variables Definition. This defines the variables you are wanting to pass to your service for use by the child flow. Select your service name and product ERP-ERP and inquire. For each variable you want to pass: ADD, Variable name, Key FIeld N, Size and type whatever you need it to be. When all of your variables are defined, click the Process button.
3. Services - Criteria Level Definition. All services have to have a default criteria definition. Select your service name and product ERP-ERP and inquire, select add on the first line and nothing else, then click the Process button.
4. Services - Process Definition. This defines the process flow that your service will execute. Select your Service name and product ERP-ERP and inquire. Select Add, select the process flow name of your child flow (e.g. Childflow), select event type EVT_PFLOW, and click the Process button.
You're done. You can now trigger the service ChildSvc which will execute flow Childflow with the service variables passed to it. Of course, don't forget to use the same variable names in your Childflow that you defined in your ChildSvc.
Jose Gonzo
Basic Member
Posts: 20
9/13/2012 12:35 PM
Split
Thanks a lot BarbR. I will try this today.
Do you know of a good Tutorial on how to use WorkObject node to trigger a Service?
Thanks a lot for all your help. Have a great day.
BarbR
New Member
Posts: 0
9/13/2012 1:01 PM
Split
I wish. No, only the Process Flow Developer Guide, which has some additional info, but not much more than what you can already see in the node itself. I find trial and error to work best. My recommendation:
First set up your service without any variables at all and test triggering the service from your parent flow to be sure your child flow is executed.
Second add a simple variable in your parent flow, child flow, and Service Variable definition (exact same name!). Assign a value to the variable in your parent flow, update the WorkObject trigger to select all variables and see if the value passes to your triggered child flow.
If that works, you're good to go.
Please
login
to post a reply.