on 2018 Apr 05 7:51 PM
Hi
Is it possible to access the datastore from a groovy script or is it a requirement to use the datastore tool?
Hi Daniel
You mean from within an iflow, right? There are no facilities in the Java APIs for accessing a data store, so you do need to use the data store steps.
Regards,
Morten
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Daniel,
the answer may come a little bit late, but there's a solution to access the Datastore from Groovy script. I wrote a small tutorial in this blog post: https://blogs.sap.com/2020/01/04/how-to-read-write-sap-cpi-datastore-from-groovy/
Let me know, if this solves/had solved your question.
Regards,
Raffael
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I actually phrased that answer carefully 🙂 I didn't say it was impossible; just that there aren't facilities in the API for it.
thanks.
I guess we will need an other way around it.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
71 | |
11 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.