Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Not Answered
Replies
6 replies
Subscribers
7 subscribers
Views
2337 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Integrations
Hello appians, Does anyone knows what web service can be used to start a pr
georgec890
over 9 years ago
Hello appians,
Does anyone knows what web service can be used to start a process outside Appian. Example: I want to call a web service in SOAP UI with some parameters(process name for example or process id) and when the call finishes a process to start in apian.
Thanks in advance!
OriginalPostID-164455
OriginalPostID-164455
Discussion posts and replies are publicly visible
0
chetany
A Score Level 1
over 9 years ago
You can expose your process model as a web service. Then you can use it in SOAP UI and call it. You can also pass parameters to it. When you call the web service, the process model will start. In the output, you will get the processId of the process started. Check this link:
forum.appian.com/.../Publishing_Process_Models_as_Web_Services.html
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
sonalk
over 9 years ago
Hi Georgec,
Refer the links below :
forum.appian.com/.../Publishing_Process_Models_as_Web_Services.html
forum.appian.com/.../e-142328
Hope it helps.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
georgec890
over 9 years ago
Hy guys,
That is a good starting point. I tested using SOAPUI and it works great. Two questions:
1. How can I pass parameters in the SOAPUI?
2. Can I use custom data types, because it shows me that I can't. Is there any workaround? Thanks for the help, highly appreciated.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
rajivr
Certified Associate Developer
over 9 years ago
Hi Georgec,
1. The input parameters that you had given for the process model also appears in the SOAP UI as parameters, where you can pass their values.
2. No you cannot use custom data types as input parameters for the process model which is published as web-service.
One alternative is: you can take a single parameter of type text for your process model and while passing values from soap ui, you can pass multiple values(of say your CDT) delimited by ',' . And you can just split this comma separated string in to individual values in your process model and then map those values to the different fields of your CDT in process model.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
joel671
over 9 years ago
As a work around for the cdt inputs, create a single input of type text, then pass in XML into the text string, use torecord within your process to map this back to a CDT. Just watch out for special characters in the XML and make sure they are escaped correctly.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
georgec890
over 9 years ago
Thanks a lot. This was really helpful I already tested and it work's great.
Highly appreciated!
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel