duplicate entries in activities and approval history for flow ask for approval action

Michael Culhan1
Kilo Sage

When using the ask for approval action in flow, two entries are generated in the custom table's approval history and activities fields.  This table is an extension of the tasks table.  If I ask for the approval manually using the related list, this behavior does not happen.  Maybe something I'm doing wrong in the flow action?

find_real_file.png

Here are the duplicate entries in the approval history field (I had two approvers)

find_real_file.png

9 REPLIES 9

ChanakyaMekala
Kilo Guru

It is a known error, business rule "Approval Events (Task)" has to be updated for that. However it is fixed in Paris, if you are prior to that please update business rule as suggested in below HI article

 

https://hi.service-now.com/kb_view.do?sysparm_article=KB0817518

 

 

 

LA_
Tera Expert

Hi.

 

I tried applying this KB and workaround, but it still logs duplicate Approval activities. Is there anything else that might be causing this?

Rex1
Tera Contributor

I was having the same issue on the Requested Item table, updated the business rule but no change to approval history.  I checked on the Approval Engine for that table and it was set to Approval Rules.  Did not have any rules related to the table, no delivery plans tied to it either so I turned it off.  Approval history now looks as it should with single entries, no dups.

HI Rex,

I am also facing the same issue like getting the duplicate activity logs so could you please explain in details like how did you turned it of(Deactivated the BR ?).

Thanks in advance.

 

Regards,

Pasha.

Rex1
Tera Contributor

Under the application System Properties select Approval Engine.  You'll see a list of tables and a dropdown choice to select from, from here you can turn off the approval engine.

Before changing a table's choice I would check the application System Policy module Approval Rules.  If you have rules setup for a table review them if they are needed.  Once you inactivate the table's rules then you can turn off the approval engine for that table.

Also under the System Policy is a module for Process Guides, if you don't have any for your table then you can remove the option for Process Guides for that table under the Approval Engines.