cancel
Showing results for 
Search instead for 
Did you mean: 

Define Action...

Former Member
0 Kudos

Hi,

I have 3 actions defined under one button, After the completion of first action (opening the pop-up till the close of it), then only the second action must begin, and after completion of second must the third action begin...

Can that? If yes, how?

Thanks much,

Dharmi

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Dharmi,

The Open Window action doesn't wait for the Close/Cancel Window action, once the Popup or window is opened, that action is done and the next action is being executed.

To create the scenario you described you have to put the other 2 actions in the Close Action proerty on the popup (note that the Close Action on the popup are not invoked if the user clicks the 'Cancel' button).

I hope it helps,

Udi

Former Member
0 Kudos

Hi Udi,

Clear also good option. What I instead did was called the webservice form the nested model out in that case the pop-up is done, first WS is called and done and then only the third WS would be executed.

Do you know what the execution mode "Switch" means?

Best regards,

Dharmi

Former Member
0 Kudos

Hi Dharmi,

There are 2 options for compound actions:

1. Sequence Action - Every action in the sequence, that its condition is evaluated as True is executed much like the following code:

if (condition1){
do_something...
}
if (condition2){
do_something...
}
if ...

2. Switch Action - The first action that its condition is evaluated as True is executed and the sequence is stopped much like the following code:

if (condition1){
do_something...
}
else if (condition2){
do_something...
}
else if ....

Regards,

Udi

Former Member
0 Kudos

Thanks again.

Regards,

Dharmi

Answers (0)