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
+1
person also asked this
people also asked this
Replies
10 replies
Subscribers
7 subscribers
Views
4032 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Process
what is the best way to activity chain a subprocess/task after an exception flow
Jess
over 11 years ago
what is the best way to activity chain a subprocess/task after an exception flow is triggered?i tried adding an empty script task and activity chain to a subprocess,but it won't work. My scenario is to update db and auto-refresh the page values when certain condition is met....
OriginalPostID-68968
OriginalPostID-68968
Discussion posts and replies are publicly visible
Top Replies
Eduardo Fuentes
over 11 years ago
+1
Appian Employee
Oh I see, well...but how were you enabling activity chaining in an exception flow? exception flows cannot be activity chained.
0
Eduardo Fuentes
Appian Employee
over 11 years ago
When you say: "but it won't work." what do you mean?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Jess
over 11 years ago
it won't activity chain to the next task. My scenario is a user will reserve a slot (update db) after 30mins. while the form is still open,and status is still <>"confirm",it should trigger an exception flow and start subprocess (cancel update in db) and return to the same form with a new message that the reservation has been auto-cancelled.It's like updating db and refreshing the form values when certain conditions are met
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Eduardo Fuentes
Appian Employee
over 11 years ago
Oh I see, well...but how were you enabling activity chaining in an exception flow? exception flows cannot be activity chained.
Cancel
Vote Up
+1
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Jess
over 11 years ago
yes i know,but i saw suggestions in a thread that you can achieve it by connecting the exception flow to an empty script task and activity chained it to the next task, but this does not work when i tried it. What's the best way for the user to see the updated values from the db while their form is currently open so users will be notified on the form the available slots and/or that their reservation has been auto-cancelled by the system.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Jess
over 11 years ago
i also tried using timer event,but still it won't update "left-opened form" values.what i want to achieve if possible. while the form is currently open,it would search db for updated values and show it to that same form without having to close it.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Jess
over 11 years ago
it's like auto-submit form when the exception flow was triggered.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
shelzle
over 11 years ago
Why not auto-submit after 30 mins? As this is done using JS it works only in the browser.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
jyothisa
over 11 years ago
I have the same scenario. I am auto-submitting the form after 30 mins using setTimeOut function. If the user closes the browser before 30 mins, what happens to the timer? Is there any other way we can achieve this functionality?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Eduardo Fuentes
Appian Employee
over 11 years ago
The setTimeOut function is JavaScript meaning it's client side code. If you close the browser the task will not submit.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Eduardo Fuentes
Appian Employee
over 11 years ago
In that case you should be able to use exception flows: Autosubmit after 30 mns with JS will present the next form but if they close it then the exception flow will skip that task too.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel