Hello everyone!
I have not asked questions for a long time, but the following task has appeared and I ask for help from the community.
Input data:
A task:
How to put all this sequence of actions inside BOT 1?
How to configure the PROCESS in BOT 1 so that it waits for the creation of child records, and then generates an email with an attachment?
Results of my attempts:
All my attempts led either to letters with PDF attachments, inside which there was not enough data from the child records TABLE 2, or using the โWait for a Conditionโ step, letters with the necessary data from TABLE 2 were received, but this is again an action from the user side.
Why is Bot 1 using a webhook to create the child records on Table 2? Why not create then with one or more Data Actions ?
Is the Webhook Synchronous ? If so when it returns it the rows should have been added to Table2 and if you have another step to create the PDF after the webhook it should have all the data.
The suggested sequence would be to have a bot that
This is done to iterate over all the selected items in the EnumList (Ref type) column. As far as I understand, you cannot do this with actions (except for creating a group of identical actions with a limited number to create new posts or an action on the user side that creates new posts with recalculating the remainder to start / stop creating a new (next) post).
Or I donโt know something new)?
I tried with both sychronous and asynchronous, got the same result - PDF without child records.
Now I tried again to add the creation of an e-mail with PDF attachment to the process.
Here is the PDF result:
Is the following situation possible with the response after the Webhook call?
In the โPresetโ field, you can select only one โCustomโ value.
Previously, it was possible to explicitly specify โAdd Rowโ.
Perhaps the process does not expect any data in response to a call, except for โeverything is fine, the call is acceptedโ)?
Therefore, it does not return the id of new records.
If you are iterating over an Enum list can you use the โRun Action On Rowsโ action to create a loop and then reference an action that adds the built row to Table2.
If you cannot see this data action, it has not rolled out to your user yet. PM your UserId and I will have you added early.
My ID: 1152015
Thanks @Dan_Bahir !
That is strange you should be able to select add.
Added you to the list, unfortunately it will only take affect this coming Wednesday. I am trying to understand why you only have the custom preset showing up.
Found the issue that caused the other presets not to show up, the fix will be deployed on Wednesday as well.
@Dan_Bahir, thank you! Glad to hear that the issue will be resolved.
Fix has been deployed, in addition you should now see the new data actions.
User | Count |
---|---|
41 | |
28 | |
28 | |
23 | |
13 |