Latest Posts


Show last 6 hrs - 24 hrs - 7 days

Forum tags


Top Posters

Last 30 days

  • Antoine (84)
  • talita.pezzi (26)
  • sundaravadivel.n (14)
  • leonardo.saraiva (14)
  • clarissa.domingues.rocha1 (12)
  • deepa.tekumalla (12)
  • ravinderjit.singh (11)
  • djalma.saraiva (7)
  • chris.doudet (7)
  • jose.mendoza (6)

All time

  • Antoine (1447)
  • Shivanand (1189)
  • cshekhar (923)
  • psq (796)
  • jag (391)
  • metabyte (371)
  • arnaud (327)
  • jalateras (325)
  • dfrench (265)
  • venkaiah.k (198)

Show last 4 hrs - 12 hrs - 24 hrs

POLL

We are looking for more information to tailor our training to better meet the needs of our customers. Please indicate all options that apply.

I would like to attend specialized training from Intalio on BPM as it relates to my application area:


I would like to attend specialized training from Intalio on BPM as it relates to my job function:


I would like to attend specialized training from Intalio on BPM as it relates to my industry:

Login

MAIN arrow FORUMS
Timer Implementation Problem (0 viewing) 
Go to bottom Post Reply Favoured: 0
TOPIC: Timer Implementation Problem
#13188
ktest (User)
Fresh Boarder
User Offline Click here to see the profile of this user
Timer Implementation Problem 7 Months ago Karma: -1  
SCENARIO:

I have attached my project file to this post. Basically, what this is, is a slimmed down version of what I want to create.

testForm1-init: an XForm prompting the user for 3 values (a string, an integer and a date value).


On SUBMIT, it should continue on to sending the user the testConfForm1 XForm.

AT THE SAME TIME, the timer should be started (which I think happens). I have currently set the timer to 10 seconds. If testConfForm1 was not submitted, after 10 seconds, the process should continue on to showing the testCompleteForm (eventually i will change this to emailing the user that they have to fill out the testConfForm1 XForm). BUT, this is not the case.


What happens is that the process sticks on the testConfForm1 XForm task and it doesn't move on after 10 secs (if the form wasn't submitted).


What am I doing wrong here?

Thanks in advance.

Katie
File Attachment:
File Name: testProject3.rar
File Size: 41427
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#13192
dfrench (User)
Gold Boarder
User Offline Click here to see the profile of this user
Re:Timer Implementation Problem 7 Months ago Karma: 8  
I think that the use of the parallel gateway is wrong here. The first gateway is redundant because multiple uncontrolled flows can exit a task and the second gateway synchronises the flows entering it with the result that you experience a wait at the gateway for the event that never happens. see here for a description of workflow patterns
The Gateway will accept multiple incoming Sequence Flow and wait for a Token to arrive from each flow before a single Token will continue past the Gateway.
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#13214
ktest (User)
Fresh Boarder
User Offline Click here to see the profile of this user
Re:Timer Implementation Problem 7 Months ago Karma: -1  
dfrench - thank you so much for your comments. I see now that the second parallel gateway was syncronizing the two paths to eachother, therefore waiting for both to finish before moving on to the next task.

I have now changed things a bit. I removed both parallel gateways since the first one was moot and the second one was syncronizing things. I have added a field in the last form that is only filled if the 30-second timer finishes before the 2nd form is filled and submitted. And, I have added an exclusive data-based event after my timer. It checks to see if the other path was submitted and "confirm" received a value. If it didn't, it should show the notification form with "Task Note" with the value "NO FEEDBACK SENT IN" (a literal string I added on the timer path). If "confirm" HAS a value, it should not send anything and end there.

I see that the timer does what it is asked (it waits for 30 seconds before moving on) but the notification still only shows up AFTER the second form in the process is completed (the path running parallel to the timer's path). Why is this?

What I want is when the first form in the process is submitted, two things should happen:

1) the 2nd form be available to the user to fill out and submit
2) the timer starts to count down 30 seconds

If the 2nd form is submitted BEFORE the timer finishes, then they get a notification form showing the values they previously filled out and that's it.

If the 2nd form is NOT submitted before the timer finishes, a literal string is assigned to "TASK_NOTE" and the notification form is sent to the user, showing the values s/he entered in the 1st form and the literal string showing up bascially saying that "NO FEEDBACK SENT IN" (meaning the 2nd form was not submitted).

How do I go about doing this?

Thanks in advance.

Katie

PS: I have attached my latest project files.
File Attachment:
File Name: testProject4.rar
File Size: 34490
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#13217
dfrench (User)
Gold Boarder
User Offline Click here to see the profile of this user
Re:Timer Implementation Problem 7 Months ago Karma: 8  
I could not immediately figure out the usage of gateways to get what you wanted but I will explore exclusive event based gateways further. Perhaps the experts will get in on the act.
I think your approach has the potential to get a little messy and difficult to follow at the business process level and at the tech developer level.

Consider using a timer exception on the business process . I have done that in my version of your project.
File Attachment:
File Name: test-a3e9ce738f6ffa8530f938a125f36005.zip
File Size: 46268
The final notification is on success rather than timeout (to me that is a better practice in the business process).

Note , as is , you will get some user-hostile responses when a user interacts with a timed-out process. This will need some consideration of error traps.
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#13220
dfrench (User)
Gold Boarder
User Offline Click here to see the profile of this user
Re:Timer Implementation Problem 7 Months ago Karma: 8  
Here is a variant using the exclusive event-based gateway.
File Attachment:
File Name: testz.zip
File Size: 49245
To me, the diagram is not so intuitive but it does work as you intended.
Note that the exclusive event based gateway must be followed by intermediate events and the first one of those that 'fires' selects the process flow.
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#13233
ktest (User)
Fresh Boarder
User Offline Click here to see the profile of this user
Re:Timer Implementation Problem 7 Months ago Karma: -1  
dfrench - thank you SO much for assisting me on this. it is really appreciated. i will go through your files right now.

katie
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
Go to top Post Reply
get the latest posts directly to your desktop