on 10-11-2019 3:15 PM
Hello,
I would like to know if it is possible to read an IFlow's name or id (=Artiface ID) via Groovy script? I already checked all available headers propagated. but couldn't find a matching one.
Ist it possible to read this values? Maybe via reflection?
Regards,
Raffael
Hello Rafel,
${camelId} will give you the Iflow name but unfortunately you cant access this as a part of header or property directly in your script.You might need to put a content modifier like below and get the iflow name stored in some header or property and then pull the same in your script.
Regards,
Sriprasad Shivaram Bhat
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for the quick answer. In combination with this article, it should even be possible without the additional Content Modifier. https://blogs.sap.com/2018/04/05/using-camels-simple-in-cpi-groovy-scripts/
User | Count |
---|---|
80 | |
9 | |
9 | |
7 | |
7 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.