on ‎2022 Oct 20 7:58 PM
Dear Professionals,
I have the following usecase: In an action, I ask an user for an orderID. With this orderID I make a webservice call and get some information(e.g. vendorID) which I store in memory.
Now the question: I want to ask the customer about his vendorID and compare this input with the vendorID stored in the memory to make further actions.
How can I achieve this?
Thank you very much.
Greetings
Enrico
Request clarification before answering.
Hey Enrico,
It depends on what you want to accomplish - there are a few options:
1. If you want to only accept the vendorID that matches the one saved in memory, you could use a validator during the requirement filling step (how I assume you are asking the user for the vendorID)
2. In skill action conditions, you can define something like #vendorID.raw comparison_opporator {{memory.saved_vendorID}} and then execute an action based on the comparison.
3. Using scripting syntax you can define a wide variety of comparisons/actions based on the comparison of the IDs. You can find more info here.
If you describe your use case in depth, I am happy to discuss what might be the best approach for you.
Hope that helps!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 15 | |
| 9 | |
| 6 | |
| 5 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.