Home > Forum > General > Subworkflows field update

Subworkflows field update
0

Hi,

I have a main workflow where I have 5 text fields. Some of these fields are displayed on the sub workflow form(Sub Workflows start on a specific main workflow step)

Sometimes I have to change one of the filed value on the main workflow( on step " Wait for sub-workflows) which is displayed on the subworkflows form.
When I change field value on the main flow, the same field is not updated on the subworkflows form despite it is the same field.
Do you know how to update the field on the sub workflow where the same field is updated on the main? It should be 1:1 on the main form and on the sub workflow form.

MVP

Hi Darek,

you can achieve this by using the update related workflow instance action:
https://community.webcon.com/posts/post/the-update-related-workflow-instance-action/81

You could execute this action during the sav trigger of the parent workflow.

Regarding the "same field":
All workflow instances in a process share the fields or table columns, but they don't share the data row. :)

If you don't need this fields in a report or history, you could also use a data column, to display those fields in the sub workflows. Than they will always show the current value.

Best regards,
Daniel

In reply to: Daniel Krüger (Cosmo Consult)

Hi Darek,

you can achieve this by using the update related workflow instance action:
https://community.webcon.com/posts/post/the-update-related-workflow-instance-action/81

You could execute this action during the sav trigger of the parent workflow.

Regarding the "same field":
All workflow instances in a process share the fields or table columns, but they don't share the data row. :)

If you don't need this fields in a report or history, you could also use a data column, to display those fields in the sub workflows. Than they will always show the current value.

Best regards,
Daniel

Hi Daniel,

The update related workflow instance action didn't work in my case :/ but your idea with a data column, to display those fields in the sub workflows is genius :)
I have a solution now! Thank you Daniel (again) :)

Did you know that with WEBCON you can automate virtually any process? Even baking cookies 🍪
 
Speaking of cookies: we use the ones that are essential for our website to function properly, as well as additional ones that help us customize our content to your preferences. If you don’t mind cookies, click Accept. If you want to learn more, explore settings.
Settings