I have a simple popup where the purpose is to add an Action thing to the database. (In this context, an Action is something to do, i.e. a step, as part of a Project.)
There are two operative buttons, ignoring the Cancel button.
Save adds the Action thing and closes the popup.
Add More Detail adds the Action thing and goes to another page where all Action details can be edited.
Because there are quite a few details that need to be right when the Action thing is created, such as the two-way linking of Action to Project, that functionality is in a custom workflow, âAdd New Actionâ.
The Save button works beautifully. The Add More Detail button does not.
As far as I can tell, using a custom workflow to add the Action thing, the Add More Detail button workflow cannot work.
The action-detail page is of type Action. Because the Action is created in the custom workflow, the Add More Detail button workflow doesnât have knowledge of the Action that was created. Therefore, it cannot pass the newly created Action to the action-detail page.
I know I can work around this by creating a skeleton Action in the button workflow and have the custom workflow just add the details and Action-Project link. That way, the button workflow would âownâ the new Action thing. (Result of step 1 (Create a new Action)).
However, Iâd rather delegate all the work of creating the new Action to the custom workflow where it really belongs.
Is there any way of getting the newly created thing back from the custom workflow so the invoking workflow can use it?