cancel
Showing results for 
Search instead for 
Did you mean: 

Dynamically adding an action to wait stage

OrlandoVelarde
Level 3
Is it possible to add an action element to a wait stage dynamically?

30073.png

------------------------------
Orlando Velarde
------------------------------
4 REPLIES 4

I am not sure I understand the question.  What is the intended end result?

------------------------------
Michael Annis
------------------------------

ÖzençGezgin
Level 4
I am not sure I understand the question too.

I think some attributes of element is dynamic and you want to enter this dynamic element attributes in wait stage. You can set the dyanamic attributes of the element "Params" section in Wait Stage.


------------------------------
Özenç Gezgin
Supervisor
Türkiye İş Bankası A.Ş.
Europe/Istanbul
------------------------------

I would like to dynamically create the actions on wait stage.

Pre-condition:
-Wait stage will be have 1 action item
-Data collection of XPaths as input parameter

On runtime will do the following:
-Loop through data collection
-Create the wait stage action items by copying the the first action item
-Replace the newly created action item's param with the XPath from data collection

------------------------------
Orlando Velarde
------------------------------

Hi @OrlandoVelarde

The short answer to this is no you cant dynamically add actions to the wait stages. What you can do is create dynamic parameters for the conditions within the wait stages. If required you could have multiple a​ conditions within the wait stage and perhaps depending on the condition provide parameters to each condition to make them either true or false. If you can provide more info on what it is exactly you are trying to do then perhaps we can provide some suggestions on the best way to do what you need to do.

------------------------------
Michael ONeil
Technical Lead developer
NTTData
Europe/London
------------------------------