Skip to main content
10-Marble
August 14, 2012
Question

Workflow task with "All" sending notification instantly

  • August 14, 2012
  • 2 replies
  • 686 views

I have a request that if a task, that has 3 people assigned to it, and it is set to Required = All.


If one of the assignee completes the task, is there a way to fire some action (ideally send a notification to say the creator) and not have to wait for all of the assignees complete their tasks.


I still want to wait for assignees 2 & 3 to complete their work, but if there are comments in this case, i'd like to grab them and notifiy the initiator of the process.


I haven't figured a way to do this, or if it's even possible.

2 replies

22-Sapphire I
August 14, 2012
The only thing we've ever seen suggested on this is a synch robot that can "listen" to each element of the Activity being completed before the entire Activity is completed. But, this may work ok for your purpose.
1-Visitor
August 15, 2012
If minimal coding is an option, you can accomplish this.having it usable by
existing running workflows increases complexity, but not impossible.



3 people assigned with all required to complete, generates three work items.
A transition on the "Complete" tasks should be able to trigger a query that
can retrieve data from the first completed work item and send an email to
others with those comments using code to interact with JavaMail or Windchill
API. For less code, comments could be saved to workflow variable and another
looping/monitoring/sync process in the same workflow as a parallel execution
path notices the value where comments are stored is no longer null and sends
a notification or does some other activity.



- Dave







From: Lockwood,Mike,IRVINE,R&D [