Hi All,
I am a new user for Appian, I am creating a form to capture user information and save to entity which is using the database auto ID.
Since the interface start from process, it will return to initial form once completed the submission.
May I know is there have any method can show the end page with entity unique ID and then let user to click the close button back to the initial form?
Please help on it, thanks!
Discussion posts and replies are publicly visible
Sure - just add a final task in your process (make sure to "enable activity chaining" on all flow lines in your process between this and the prior task). On this form you can add whatever informational display you wish, reflecting the data you've written to the database / etc.
Thanks Mike, I want to clarify, is it mean create a sub-process? and then the sub-process will show the interface with ID and detail, is it correct? I have tried but still can show the sub-process form......
For this you would only need to use a basic User Input Task, not a subprocess. User Input Tasks are the main way to show a user-interactive SAIL form within a running process, so you should become familiar with these. Many times we'll just say "task" as a short reference for a User Input Task node.
Hi Mike,
Great, test it and work. For this task, is it no concern for the assignee of the task? or I necessary to configure it to loggedInUser()? thanks.
If the user is chaining in from a Start form, then the assignment value will be overridden anyway. But the process model will require you to set an assignment value on the task, and the quick way to do that is to set the assignment to pp!initiator (which is the equivalent of "loggedInUser()" when in a process model, at least one with just one task).
Your answer definitely resolved my problem, Have a nice day!
Great, glad to help. At your convenience it would be cool if you could upvote and/or "verify" any of my answer(s) that you found helpful.
Calling loggedInUser() inside a model will not work. This is only valid inside interfaces or expressions called from interfaces.
Stefan Helzle said:Calling loggedInUser() inside a model will not work.
I'm confused as to what part of my comment prompts this reply? You'll note that I advised OP to use pp!initiator as the task assignment value.
loggedInUser() is my testing only which is not Mike suggestion. Hi Mike, I have one more question, if user closed the browser directly in the task. Is it will be pending of the process flow? Is it possible to bypass automatically and user click the close button is not like to submit the form, thanks.