Skip to main content
Solved

Control procedure program code


Forum|alt.badge.img+1

Hello, 

 

I'd like to understand what value should be set if I would like to have a sequence to execute the process action?

From what I know, if the value of the process action is set to 0, it means the action will not be executed.

-- Follow-up process actions. The number assigned to them will determine the order in which they are (depth first) executed. A value of null, 0 or a negative value means the process action will not be executed. 

Here’s an example of my process: in my decision workflow, I want the "Send User" action to execute first, followed by the "Email Connector" or vice versa, what is the depth first order number? where to view this?

 

should I put 1 being the first one to be executed and 2 is the second? and so on...

code snippet on decision process to check:

        if @notification_type = 'both'           begin               set @execute_user_notification_stop  = 0               set @Send User = 1               set @Email Connector = 2          end

 

 

 

 

Thank you in advance

Best answer by Dani

Hey ​@Jheng ,

If I understand it correctly, what you want to achieve is the process action being executed in this order :
1. move file → 2. send notification → 3. email connector Azure

Is this correct?

If it's correct, maybe the best way to do it is by putting the process action next to each other with the “always” process step in between. That way the process action will always be executed in that sequence.

 

I hope it helps.

Kind regards,

Dani

View original
Did this topic help you find an answer to your question?

3 replies

Remco
Moderator
Forum|alt.badge.img+3
  • Moderator
  • 42 replies
  • June 13, 2025

Hi ​@Jheng 

You can show the processtep sequence no in the designer of a procesflow (Settings is placed in the bottom left corner of the designer). This way you can see the order of the exection of the steps.

I hope this gives you more insights to achieve what you want.

Kind regards,

Remco

 


Forum|alt.badge.img+1
  • Author
  • Sidekick
  • 30 replies
  • June 13, 2025

Hi Remco,

I saw that sequence no in process step

 

 

But it doesn't state what is the sequence no to put in the functionality control procedure, is there such thing that we can assign a sequence no in the process action from the control procedure code? like below.

 

 


Dani
Moderator
Forum|alt.badge.img+2
  • Moderator
  • 11 replies
  • Answer
  • June 13, 2025

Hey ​@Jheng ,

If I understand it correctly, what you want to achieve is the process action being executed in this order :
1. move file → 2. send notification → 3. email connector Azure

Is this correct?

If it's correct, maybe the best way to do it is by putting the process action next to each other with the “always” process step in between. That way the process action will always be executed in that sequence.

 

I hope it helps.

Kind regards,

Dani


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings