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
7 replies
Subscribers
6 subscribers
Views
2537 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Process
Facing problems in scheduling sub-processes bases on the scheduled time set in
abhinavg
over 10 years ago
Facing problems in scheduling sub-processes bases on the scheduled time set in one the other sub processes from a main parent process
1. I have a parent process which has 5-6 sub – processes & default process variable say xyz(date& time) is being set by main process
2. In one of the sub process A, I’m updating xyz variable, passed back to main parent process using Pass By Reference
3. Now there are sub-process B, C whose scheduling depends on the xyz, therefore they should be updated to use new xyz set in sub Process A
What’s happening is that scheduling of B, C sub-process is not getting updated with the latest updated xyz variable, they still shows old scheduling time which was being set very first time with default value of xyz !
...
OriginalPostID-116911
OriginalPostID-116911
Discussion posts and replies are publicly visible
0
padmanabhanv
over 10 years ago
Are the sub processes invoked in parallel or sequence?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
abhinavg
over 10 years ago
Sub Process B & C are invoked parallel using AND gate !
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
padmanabhanv
over 10 years ago
Put a screen shot of your process model
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
abhinavg
over 10 years ago
If scheduler timer is set say by u-v ( in minutes) and if values of var u & v changes in main process, is the scheduler expression re-evaluates with new u & v values.
Currently scheduler defaults to original values and never refreshes with new values
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
padmanabhanv
over 10 years ago
If you go to monitor process, is B and C in green before the change to variable xyz is made in A?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
padmanabhanv
over 10 years ago
If the node 'B flow' and 'C Flow' are activated before the change is made in 'A flow', then the timers won't refresh. Timers by default would be evaluated only once.
You can refer to this post for pointers on how to work around this issue -
forum.appian.com/.../b-40702
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
abhinavg
over 10 years ago
Yes Padmanabhanv, B & C were in green before i made changes to the xyz in sub process A. I went through the post shared above ...
So i need to follow the approach mentioned below form the post >
Drop the timer into a subprocess, then configure the subprocess node to "Delete previously activated instances" when reactivated. The existing subprocess instance will be terminated and replaced with a new one, therefore only one active timer will exist at a time. When the timer fires and the subprocess returns, be sure to disable the admin quick task to avoid restarting the timer after it's already fired.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel