cancel
Showing results for 
Search instead for 
Did you mean: 

how to read the name of groovy script sap cloud integration cpi

mark_fryu
Participant
0 Kudos

hi, I need to use the name of the groovy script inside the script to use it as the attachment name

For example the script name is Log Payload, I want the attachment to be called Log Payload

mark_fryu_0-1713793032884.png

How can I do?

I've done some testing but am having problems, i tried this:

mark_fryu_1-1713793068239.png

bur i have this error:

mark_fryu_2-1713793098359.png

Thank you

View Entire Topic
helmut_skolaut3
Active Participant
0 Kudos

Have you checked this blog? 

https://community.sap.com/t5/technology-q-a/get-the-step-identifier-for-process-call-and-groovy-scri...

It seems to me that this could be your solution.

BR Helmut