-
1. Re: How to add Humantask(User Task) in a process at runtime(dynamically).
salaboy21 Dec 4, 2012 6:01 AM (in response to snowstormuser)What do you want to achieve, can you explain your scenario?
You can always create ad-hoc tasks, and in some way link it with the process, but it will not appear in the process diagram, because it's an ad-hoc task.
Cheers
-
2. Re: How to add Humantask(User Task) in a process at runtime(dynamically).
thomas.setiabudi Dec 4, 2012 6:22 AM (in response to salaboy21)Hi Mauricio,
I understand about creating ad hoc task, but how do we in some way link it with the process?
Regards,
Thomas Setiabudi
-
3. Re: How to add Humantask(User Task) in a process at runtime(dynamically).
salaboy21 Dec 4, 2012 6:25 AM (in response to thomas.setiabudi)You can store the process instance ID inside the task data and then query that information.
Cheers
-
4. Re: How to add Humantask(User Task) in a process at runtime(dynamically).
thomas.setiabudi Dec 4, 2012 6:28 AM (in response to salaboy21)If I do it that way. will the NodeInstanceLog table get updated too?
Because at the end of the day, the manager would like to see what are the nodes or what are the activities involved in the process from start to finish.
Regards,
Thomas Setiabudi
-
5. Re: How to add Humantask(User Task) in a process at runtime(dynamically).
salaboy21 Dec 4, 2012 6:34 AM (in response to thomas.setiabudi)NO! those are two different things. The ad-hoc task is not a node inside your process. If your manager wants to see how many task were completed at the end of the day, you can just query the humant ask services for that information. You don't need your NodeInstanceLog for that.
-
6. Re: How to add Humantask(User Task) in a process at runtime(dynamically).
snowstormuser Dec 4, 2012 6:34 AM (in response to salaboy21)Thanks Mauricio Salatino for reply, Where I can find the examples of ad-hoc tasks.
-
8. Re: How to add Humantask(User Task) in a process at runtime(dynamically).
snowstormuser Dec 4, 2012 8:15 AM (in response to salaboy21)I have scenario where I got 2 tasks in my process.
1) Review Task.
2) Approve/Reject Task.
Now when the process reaches the Task 2 which is (Approve/Reject)
A] Rejection Condition
a) Now this Approve/Reject task gets rejected at this particular moment.
b) The new task should be created and assigned to users or group.
c) When this newly created task gets completed.
d) The Flow should come back to the Approve/Reject task from where it has been rejected.
B] Approve Condition
a) If the Approve/Reject task is approved then the task should be completed.
b) Now we don’t need to create a new task.
//================================