How to pass variable (or list) from java code to process? I have to pass a list of emails retrieved with Outlook module. I need a list of email because I need to pass thi list to Appian process.
Thank you
Discussion posts and replies are publicly visible
We recommend using Appian Web-APIs to send data back to Appian. You can view our design documentation for more information https://docs.appian.com/suite/help/20.2/rpa/rpa_in_apps/sync-pattern.html#design-structure
Thanks, I wanted to understand if the process variables can also be filled with result data from java as well as used to pass data to java code. I need to trace a string.
Yes you can. Depending of the use case, you could well as well send that data to the webapi and start a process with it.
Hi, I don't understand how import IWebApiRequest, IntelliJ not recognize it and in documentation this case is not covered.
Hi, thank you. How can I send data from java to process. I know how send data to server but in log ( server.inf("string to pass to server");) but I need to pass a string value to robotic process variable.
Hi, I'm tryng to follow the guide but in the IDE the Interface IWebApiRequest is not recognized!
Hi Antonio LamannaI'm facing the same issue, IWebApiRequest cannot be resolved to a type.Can you please let me know how to resolve this?Thanks.
Hi Vadivelan,
To use IWebApiRequest, you need to import the class com.novayre.jidoka.client.api.appian.webapi.IWebApiResponse which is found in the version 7.1.0 of the jidoka-robot-parent library.
<parent> <groupId>com.novayre.jidoka.robot</groupId> <artifactId>jidoka-robot-parent</artifactId> <version>7.1.0</version> </parent>
Hi, you need of Appian version 20.2. Check this