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
4 replies
Subscribers
5 subscribers
Views
1438 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Integrations
Hi, We are using Appian 7.5. We have a non-appian application t
sayedh
over 9 years ago
Hi,
We are using Appian 7.5. We have a non-appian application that needs to utilize a few of our process models. I was thinking of using a servlet plugin but welcome alternatives. With the servlet plugin, we will need to provide the client several HTTP GETs and one HTTP POST. My question is regarding the HTTP POST. The documentation says that with an HTTP POST, we have to use asi:form. I would appreciate an example of this. Also, here are the list of steps between the two applications.
1. Non-appian application will build an HTTP POST where one of the HTTP Parameters will be an XML.
2. They will invoke the servlet plugin URL
3. Servlet plugin will get the XML and unmarshall to a java object using JAXB
4. Using Appian APIs, the servlet plugin will start an instance of a process model (using process model UUID or process model ID).
5. The servlet plugin will need to redirect the user to the started process instance in Tempo.
Would appreciate comment...
OriginalPostID-132445
OriginalPostID-132445
Discussion posts and replies are publicly visible
0
sayedh
over 9 years ago
...s on the above and specifically, need to know how to achieve (5).
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Eduardo Fuentes
Appian Employee
over 9 years ago
An easier option is to start the process via email:
forum.appian.com/.../Mail_Server_Setup.html
(see "Receiving Emails")
Or exposing a Master Process Model as a Web Service that based on the inputs it will send a message to a start event to kick off the corresponding process model
forum.appian.com/.../Publishing_Process_Models_as_Web_Services.html
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
sayedh
over 9 years ago
Thanks Eduardo. Selling email as an option is going to be difficult. I'll have to come up with something else. I need to be able to click a button in the non-appian application and then land in a prepopulated task in the appian application. Do you mind providing a suggestion? And, is (5) doable?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Eduardo Fuentes
Appian Employee
over 9 years ago
From #1 to #4 is doable. I don't see any problem with that.
For #5 there's this function
forum.appian.com/.../Scripting_Functions.html
but looks more suitable for entity back records so maybe instead of just launching a process you could be inserting a record in the DB as well and use that identifier to redirect the user more than using the process id. Just an idea but obviously this will make more sense once you've read more about records and this function.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel