Brapi.Utilities.ExecuteDatamanagementSequence

Nikpowar97
New Contributor III

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?

 

1 ACCEPTED SOLUTION

JackLacava
Community Manager
Community Manager

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.

View solution in original post

4 REPLIES 4

JackLacava
Community Manager
Community Manager

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.

RobbSalzmann
Valued Contributor

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.

RobbSalzmann
Valued Contributor

no

Nikpowar97
New Contributor III

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.

Please sign in! Nikpowar97