The Zurich release has arrived! Interested in new features and functionalities? Click here for more

How can I do this by using inbound action

himanshu-pa
Tera Contributor

If email body contains "{any INC number} is urgent"  , set Priority = 1 automatically for that INC and also create one record on change table with description containing - {incident number} priority has changed to critical"

Anyone can help me to write business rule of this task

6 REPLIES 6

himanshu-pa
Tera Contributor

I am working on PDI for learning purpose and I stucked  at the Br scripting . I have written a script but that was not working . 

 

Bhuvan
Kilo Patron

@himanshu-pa 

 

Can you clarify your business requirement. Why do you need to create a change record when incident is changed to critical and how are you going to manage change lifecycle ?

 

From technical standpoint, this is how you can create the flow

 

1. Create a Flow with trigger 'inbound email'.

2. Check if email body contains 'INC' AND 'urgent' [see if you can use email subject as it would be more efficient]. Extract the incident number from email body using transform functions or custom action

3. Lookup incident number using extracted value and update the priority of the incident to P1

4. Create a Change record using 'Create Record' action and map the description as per your requirement

 

If this helped to answer your query, please mark it helpful & accept the solution.

 

Thanks,

Bhuvan