Approval for a Record Producer

Sumanth Now
Tera Expert

I have a Record Producer which creates a Record in a custom table. I need an approval activity before or after creation.

Hope its not possible to have approval before creation as the user submits the request on portal, the record is created automatically.

So I have created a Flow(Flow Designer) to trigger when the Record is created and added Flow logic, where if the Short Description contains 'xyz', then add an approval.

The issue is its skipping the if condition and generating approvals for every record.

- Does Flow considers (current values like current.short description)?

Any clear ideas/examples/codes to achieve this? Any alternative way to achieve this?

Many thanks in advance!

6 REPLIES 6

Ashutosh Munot1
Kilo Patron
Kilo Patron

HI,

Can you show the flow designer flow logic?

Thanks,
Ashutosh

Sumanth Now
Tera Expert

Hi, please find the below screenshot of flow.

When I manually run test on the existing record, the executions worked correctly. I mean the If condition was Evaluated - False.

But not sure why it isn't working, when creating new records?

 

find_real_file.pngfind_real_file.png

Hi,

I have quickly tested this and it works fine for me. Can you show your record?

find_real_file.png

Thanks,
Ashutosh

Hi, 

Please find the list of records with short description and associated approvals generated.

As we can see the approvals are generated regardless of what contains in short description.find_real_file.png