Hi Michael
Yes you can. You define the variable in which the VARA-key is stored for each iteration on the start task. By default this is &ITEM# which seems to be stored as an object variable for every iteration and is therefore inherited to the child tasks if they accept it.
When you have a workflow task with a promptset within the FE workflow, just use &ITEM# as default value for the input-field. Alternatively, you can use the syntax {[VARA], [KEY], [INDEX]} for gathering another value-field of the iteration source VARA.
Or did I get something wrong?
Regards
Joel
------------------------------
☎️ Swisscom Automation/AI Engineer & 🧙 PEM Creator
Online Automic Training 24/7:
https://membership.philippelmer.com/ (deutsch)
https://pemautomic.com (english)
------------------------------
Original Message:
Sent: Dec 16, 2024 03:42 AM
From: Michael A. Lowry
Subject: For each workflow: child task with prompt set
A foreach workflow sets a variable in the child task. As far as I can tell, this is an ordinary variable. Is there any way to set a prompt set variable in the child task?
By the way, the documentation page for the ForEach tab of the Properties pane contains some incorrect information.
Publish Value as
The name of the VARA object that is used to provide the source value to the Workflow.
This is completely wrong. This setting is where one specifies the name of the object variable to set in the child tasks.