Hi Andreia,
in which specific action does the error occur? Can you take a look at the history in admin mode and see which actions have been completed successfully?
This is just a wild guess, but are your sub workflows changing the parent workflow or do you want to change the current workflow from somewhere else?
Something like this could cause an error as you described.
Best regards,
Daniel
Hi Andreia,
in which specific action does the error occur? Can you take a look at the history in admin mode and see which actions have been completed successfully?
This is just a wild guess, but are your sub workflows changing the parent workflow or do you want to change the current workflow from somewhere else?
Something like this could cause an error as you described.
Best regards,
Daniel
Hi Daniel,
Once my subworkflows start, they update the parent with their ID.
Looking at the history, the subworkflows appear as completed and the I get the error which does not have any useful information
Hi Daniel,
Once my subworkflows start, they update the parent with their ID.
Looking at the history, the subworkflows appear as completed and the I get the error which does not have any useful information
Hi Andreia,
did you test, whether the deactivated action 'subworkflow updates parent workflow' won't cause an error?
If this is the case, you need to revert this. Are you using the "start a subworkflow (SQL)" action because you create multiple approval/no competition workflows?
If this is not the case, it would be easier to use the "start a subworkflow action". On Advanced Tab it has an option "Copy subworkflow id to field".
Best regards,
Daniel
Hi Andreia,
did you test, whether the deactivated action 'subworkflow updates parent workflow' won't cause an error?
If this is the case, you need to revert this. Are you using the "start a subworkflow (SQL)" action because you create multiple approval/no competition workflows?
If this is not the case, it would be easier to use the "start a subworkflow action". On Advanced Tab it has an option "Copy subworkflow id to field".
Best regards,
Daniel
Hi,
Removing the update related instance I don't get the error. But I need to use the Subworkflow SQL because I'm starting them from an Item List
Hi,
Removing the update related instance I don't get the error. But I need to use the Subworkflow SQL because I'm starting them from an Item List
Hi Andreia,
I don't know your data but a generic approach would be:
a) Store the DET_ID of the item list row in a technical field of the subworkflow
b) Execute an item list update on the parent workflow where you fetch the created workflow id by querying the subworkflow using the DET_ID as an additional where condition.
Filtering the subworkflow for the parent workflow id and the DET_ID will give you a 1:1 mapping and you can assign the Id of the subworkflow to the column.
Best regards,
Daniel
Hi Andreia,
I don't know your data but a generic approach would be:
a) Store the DET_ID of the item list row in a technical field of the subworkflow
b) Execute an item list update on the parent workflow where you fetch the created workflow id by querying the subworkflow using the DET_ID as an additional where condition.
Filtering the subworkflow for the parent workflow id and the DET_ID will give you a 1:1 mapping and you can assign the Id of the subworkflow to the column.
Best regards,
Daniel
At the end I will have to go with that option because the time of the actions to occur is not quite sequencial.
I was told that in the next version, actions will be done by batch and it might solve the issue of having a Start Subworkflow and then an Update Related Instance in the new created one.