It's all about the answers!

Ask a question

IBM RTC Rest API + pre-conditions and follow-up action


Pavel Cikota (136) | asked Jul 10 '17, 7:40 a.m.

Hello!

If I have pre-conditions and follow-up actions on "Save Work Item" operation, rest-client become response of create work item after worked out follow-up action or after work item save?
In other words, rest-client wait follow-up action end or not?

2 answers



permanent link
Ralph Schoon (55.5k23642) | answered Jul 10 '17, 7:46 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

For all I know both participants/follow up actions and advisors/pre-conditions can fail the save, so the code that runs runs within the save transaction. The operation ends after all the code of the behavior is run.  


permanent link
Pavel Cikota (136) | answered Aug 07 '17, 5:55 a.m.

I use delay operation In pre-conditions and follow-up action for "speed" test of create/update Work Item by Rest API. Rest-client (I use curl) wait ending work of all plugins (pre-conditions and follow-up action) on operation Save Work Item.

Your answer


Register or to post your answer.