Create Incident via flow

preethigovi
Tera Contributor

Hi Team,

 

If we don't have existing incident we need to create new one from flow designer. I used Look up record, but its not proceeding to if step to create incident if we don't have result from look up step.

 

No record found in Look Up Record action. Context id: 109ae1b77a73a6106b3ed190d70d379f, table: incident, encoded query: short_description=Workday Job stuck on Running status^stateIN1,2,3,6

 

preethigovi_0-1757657655689.png

 

1 ACCEPTED SOLUTION

Bhuvan
Kilo Patron

@preethigovi 

 

1. Create a lookup record for the condition [select option do not treat as error]

table: incident, encoded query: short_description=Workday Job stuck on Running status^stateIN1,2,3,6

 

2. Create a IF condition and if lookup did not return any results, then create a new record

 

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

 

Thanks,

Bhuvan

View solution in original post

7 REPLIES 7

Bhuvan
Kilo Patron

@preethigovi 

 

You can use below Flow and it is working fine. Fine tune the trigger conditions and look up record conditions as per your requirements

Bhuvan_2-1757659458254.png

Bhuvan_3-1757659491761.png

 

I hope you appreciate the efforts to provide you with detailed information. If my response helped to guide you or answer your query, please mark it helpful & accept the solution.

 

Thanks,

Bhuvan

In If I gave  Look up record is empty as condition is that okay?

@preethigovi 

 

Yes, that would work and is optimal way to validate the IF Flow Logic

 

Bhuvan_1-1757668104433.png

Below is a sample Flow execution

Bhuvan_0-1757668074880.png

As per community guidelines, you can accept more than one answer as accepted solution. If my response helped to answer your query, please mark it helpful & accept the solution.

 

Thanks,

Bhuvan