Skip to Content
avatar image
Former Member

Get the Step identifier for process call and groovy script

I'm using the Eclipse plugin. If you add a new step to the flow you can right click it, select technical information and see the ID of the step (for example CallActivity_6). I would like to have this identifier available in two cases:

  • Local integration process: I want to know which Process Call step is triggering the process
  • Groovy script: I want to know which script step is calling the Groovy script

I know that the message properties contain a parameter called ModelStepId which know the calling ID, but I cannot seem to obtain it (other than apply the toString function on the message properties).

So my question is: how to get the step identifier out of the properties map?

Thanks in advance!

Bram

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Dec 05, 2017 at 02:18 PM

    Hello Bram,

    As per my understanding there is no such property or header place holder available to retrieve the step Id.

    For error scenarios ( where message gets failed ) then there is property : ${property.SAP_ErrorModelStepID} which captures the step id where error occurred or which caused the message failure.

    Regards,

    Sriprasad Shivaram Bhat

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Sriprasad,

      Thanks for confirming. The id in case of an error is also a nice feature!

      Best,

      Bram