I want to notify workflow task assignee that it is assigned, using object contacts.
I don't see workflow object contacts if click update object contacts.
Below tech document should help you if it is a classic workflow:
Just to add to Naveen's response...The tech doc (TEC477548) mentioned, is only applicable if you are using task templates and it also requires that the assignee field on the tasks be set upfront before the workflow process kicks in.
If you are trying to send a notification to task assignee at the time you set the assignee field on the task or when you insert a new task then this will not work :-(
Thanks Naveen for sharing the tech doc.
As Brian Said,I want to trigger a notification when the assignee is updated for workflow task.
I am looking at Notification rules object contacts where i can't see object contacts for workflow object.
Strange thing is if i search for any existing object contacts in same tab,it is showing workflow task object in search filter.
I also tried to use Behaviors to send notification but when amount of workflow tasks grows up to thousands and thousands its going to impossible to accompany them.
So I used SPEL to do it.
Here is compact version of my macro.
You need to define Event that will trigger Multiple notification macro (I've used email and pager email notifications).
Currently there is 2 triggers:
- workflow status change (to PEND or REOPEN);
- workflow assignee change. ! !
You can disable status change trigger in mod file if you don't need it.
Hope this helps.
Personally i prefer to avoid trigger on reopen or pending status, i have spell code that i am calling from action macro that attaches an event. So i have more flexibility and control over my notification and can initiate it on any wf status.
OOTB you can't send a notification when the task assignee field changes. I have previously tried this and came to the realization that this is a limitation on the product. There is an Idea that is already created for this which you can vote for.
Extend Activity Notifications to Workflow Tasks
Otherwise the only alternative is unsupported customizations via spel-code as cdtj alluded.
Thank you all for your valuable suggestions.
I was looking for configuration changes without making any customizations or SPEL changes.
I voted for Extend Activity Notifications to Workflow Tasks
Retrieving data ...