Skip to Content
0

Runtime variables in SAP HCP Workflow Service

Jun 09, 2017 at 10:04 AM

54

avatar image
Former Member

Hi,

I'm playing around with the new SAP Cloud Platform Workflow Service at the moment and was wondering which global runtime variables are set initialy. I know there is a field $.info but I could not get any more information regarding this matter. Are there any ressources available online?

To be more specific: I'm trying to get information about the user who initiated the current workflow and want to post his userId to a remote odata endpoint. Any ideas on how to achieve this?

Thanks,

Konstantin

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Venugopal Chembrakalathil
Jul 25, 2017 at 06:45 AM
0

You could access $.context

as of now process intiator is not available as a standard in workflow context. But you could pass it as a custom attribute in workflow context and access this using $.context.

Please refer the help docuemenation

https://uacp2.hana.ondemand.com/viewer/f63bbdc234ce4211ab2cdb44564a0acd/Cloud/en-US/copye6c27b9cc7544497b9eae7b0c0dd53f7.html

Share
10 |10000 characters needed characters left characters exceeded