cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Did you get called away in the middle of writing a post? Don't worry you can find your unfinished post later in the Drafts section of your profile page. X

How to get request object in workflow robots?

AntonBagryanov
12-Amethyst

How to get request object in workflow robots?

Hi!

I need to get data from request object inside the expression robot. How can I get it?

Thanks!

2 REPLIES 2

Check out the ChangeService2 API (in wt.change2 package) which has methods to support your use case.  ChangeService2 methods can be called by ChangeHelper2.service.anyMethod().  Methods of interest are most likely getChangeablesBefore() to get Affected Objects and getChangeablesAfter() to get Resulting Objects.  Note - I've left out the parameters for simplicity so refer to the JavaDoc.

Hi Keir!

I mean HttpRequest object. Sorry for bad question.

Announcements


Top Tags