[resolved] Priority between "onComponentOK" and "If" links

One Star

[resolved] Priority between "onComponentOK" and "If" links

Hello,
If I have the following job :
tJava ----OnComponentOk (order:1)----tMsgBox1
   |-------OnComponentOk (order:2)----tMsgBox2
   |-------If (order:1)----tMsgBox3
   |-------If (order:2)----tMsgBox4
I've tested this scenario and the order of the execution of the tMsgBox seems to always be : tMsgBox1, tMsgBox2, tMsgBox3, tMsgBox4.
My question is : can we be sure that the 2 links "onComponenOk" are executed before the 2 links 'If" ?
Thanks.

Accepted Solutions
Moderator

Re: [resolved] Priority between "onComponentOK" and "If" links

Hi,
We can be sure that the links onComponentOk are executed before the links RunIf. You can check it from generated code.
Best regards
Sabrina
--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.

All Replies
Moderator

Re: [resolved] Priority between "onComponentOK" and "If" links

Hi,
What's the condition in your RunIf trigger?
Best regards
Sabrina
--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.
One Star

Re: [resolved] Priority between "onComponentOK" and "If" links

Hi Sabrina,
For this test, the condition of the 2 RunIf is just 1==1.
I just want to know if we can be sure that the links onComponentOk are executed before the links RunIf.
Or if, in some cases (randomly?), the RunIf links can be executed before the onComponentOk ?
Tangi
Moderator

Re: [resolved] Priority between "onComponentOK" and "If" links

Hi,
We can be sure that the links onComponentOk are executed before the links RunIf. You can check it from generated code.
Best regards
Sabrina
--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.
One Star

Re: [resolved] Priority between "onComponentOK" and "If" links

Hi,
Thanks for your answer Sabrina.
Best Regards,
Tangi