03-21-2024 10:42 AM - last edited on 03-21-2024 11:57 AM by JackLacava
The Function in my rule : Brapi.Utilities.ExecuteDatamanagementSequence run the sequence in Background and allows me to do further operation in BR even before the step is complete.
Is this the expected behavior?
How do we avoid this. To run further operation until the complete sequence is complete?
Solved! Go to Solution.
03-21-2024 12:04 PM
The Execute* call should typically block, if that's not the case you should talk to Support.
Start* and Queue*, on the other hand, will not block.
03-21-2024 12:04 PM
The Execute* call should typically block, if that's not the case you should talk to Support.
Start* and Queue*, on the other hand, will not block.
03-21-2024 01:21 PM - edited 03-21-2024 01:21 PM
I would break your rule up into DM Sequence steps, step1, step2, with the step that runs the part that you want to wait for as step1, and the step you want executed after step1 finishes as step2.
This is conceptual, better to name them for what they do even tho step1 and step2 would work.
03-21-2024 02:59 PM - edited 03-22-2024 10:57 AM
no
03-22-2024 10:57 AM
Sorry My Bad,
@JackLacava
I wrote Brapi.Utilities.StartDMSequence in my code and was Assuming I wrote Brapi.Utilities.ExecuteDMSequence in my code.
@RobbSalzmann
Really appreciate you help here. This is a Quite useful code. I will definitely try it if I require in future.