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:
Zac Shields
Past 24 Hours:
1
Prev. 24 Hours:
1
Overall:
5210
People Online:
Visitors:
360
Members:
0
Total:
360
Online Now:
New Topics
Lawson S3 HR/Payroll/Benefits
Post Tax Benefit Plan Table
11/14/2024 9:16 PM
Hi, totally new to Laswon. I have a repor
Lawson S3 Procurement
ED501 Error: Map 850 not supported by /law/c15vda/lawson/test10/edi/bin/laws_out_91
11/12/2024 3:47 PM
Tried runnning ED501 and getting the atathced erro
Lawson S3 HR/Payroll/Benefits
Error
11/6/2024 9:54 PM
When I try to enroll a retiree in 72.1 health plan
Infor ERP (Syteline)
Syteline: New Data Maintenance Wizard (Error) Need help
11/1/2024 4:24 PM
Hi, I need help with an error on syteline while us
Dealing with Lawson / Infor
Implementing Lawson v10 with Cerner Surginet, Case Cart Picking, and Quick Adds for the OR
10/29/2024 4:20 PM
Hi Everyone, I am wondering if there is any org
Lawson S3 HR/Payroll/Benefits
Canada Tax Calculation (Federal and Provincial) Issue
10/23/2024 5:00 AM
Initially, we had problem with CPP2 calculation is
Lawson S3 HR/Payroll/Benefits
CA Section 125 401k Plan
10/22/2024 10:13 PM
Does anyone have any recommendations on how to fac
S3 Systems Administration
Running AC120 deleted records from ACMASTER table
10/22/2024 3:40 PM
We recently ran the AC120 as normal and somehow it
Lawson S3 Procurement
RQ13 Approval Info
10/17/2024 2:12 PM
When a Requisition is approved on RQ13, what table
S3 Customization/Development
Read and Write CSV file COBOL
10/9/2024 2:53 PM
Does anyone have a quik example of a program that
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
1372
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
Veteran Member
Posts: 306
9/12/2012 10:45 AM
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
Veteran Member
Posts: 306
9/12/2012 10:47 AM
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
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
Veteran Member
Posts: 306
9/12/2012 12:12 PM
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
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
Veteran Member
Posts: 306
9/13/2012 1:01 PM
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.