- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-02-2020 11:57 AM
Hi Experts,
I trying to create notification on child(demand task). But, the notification should send to demand manager on demand. whenever state changes on demand task.
I tried to do dotwalking on parent feild, but i dont see a demand manager field.
Any suggestions?
Thanks,
Jay
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-03-2020 12:02 AM
Hi
The "Parent" field will refer to another Task record, where this current task (demand) is located below.
If you want to send a notification to the "manager", I am asking where you find the "Manager" for your demand. If this is the manager of the "Assigned to" user of the Task, you can create a Business Rule to fire on "After UPDATE" of the demand table records, and take the condition "When State changes".
In this case, you can script to fire an event (for triggering the notification), if there is a manager mentioned of the user record of the assigned to user.
current.assigned_to.manager
Use this Sys_id in "Parm1" of the notification and use Parm1 as recipient in the notification.
That way, it should do what you are heading for.
Let me know if that answers your question and mark my answer as correct and helpful.
BR
Dirk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-02-2020 11:10 PM
Please follow this if you are still looking for solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-03-2020 06:11 AM
Hello denu,
I attempted to follow along but it appears something is not correct.
It would help if I provided additional information:
If a Problem containing PTasks were to be Cancelled I would like the "assigned_to" on the Ptask to be notified of the cancellation.
My Event is called "problem.cancelled" and it is on the Problem table.
My business rule is as follows:

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-03-2020 12:02 AM
Hi
The "Parent" field will refer to another Task record, where this current task (demand) is located below.
If you want to send a notification to the "manager", I am asking where you find the "Manager" for your demand. If this is the manager of the "Assigned to" user of the Task, you can create a Business Rule to fire on "After UPDATE" of the demand table records, and take the condition "When State changes".
In this case, you can script to fire an event (for triggering the notification), if there is a manager mentioned of the user record of the assigned to user.
current.assigned_to.manager
Use this Sys_id in "Parm1" of the notification and use Parm1 as recipient in the notification.
That way, it should do what you are heading for.
Let me know if that answers your question and mark my answer as correct and helpful.
BR
Dirk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-03-2020 06:10 AM
Hello Dirk,
It would help if I provided additional information:
If a Problem containing PTasks were to be Cancelled I would like the "assigned_to" on the Ptask to be notified of the cancellation.
My Event is called "problem.cancelled" and it is on the Problem table.
My business rule is as follows:

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-03-2020 06:40 AM
OK
current.parent.assigned_to.manager
If you want to use the Manager of the Assigned To User on the Parent Task.
Give it a shot and let me know.
BR
Dirk