Skip to main content
March 21, 2024
Solved

Brapi.Utilities.ExecuteDatamanagementSequence

  • March 21, 2024
  • 4 replies
  • 0 views

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?

 

Best answer by JackLacava

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.

4 replies

March 21, 2024

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.

March 21, 2024

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.

March 21, 2024

no

March 22, 2024

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.