Skip to Content
avatar image
Former Member

Runtime variables in SAP HCP Workflow Service

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Jul 25, 2017 at 06:45 AM

    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

    Add comment
    10|10000 characters needed characters exceeded