Javascript for disabling KROIP in workflows | Community
Skip to main content
January 22, 2025
Question

Javascript for disabling KROIP in workflows

  • January 22, 2025
  • 1 reply
  • 1303 views

Hello,

 

We have an issue with users using the 'Keep the result of interim populations' option to validate data in their workflows, and leaving it enabled. This option is not recommended by Adobe for Production environments, as it stores data in temporary tables and takes up disk space, affecting instance performance. We have tried communicating the impact this practice has on the instance, but it is a very convenient method of data validation for users, so they keep using it.

 

I have been told by Adobe Support that it is possible to write a custom script that will disable the KROIP option for workflows. I was wondering if anyone had done this and if they could share the script? We'd like to build a workflow that will disable KROIP for all workflows at the end of every day.

 

Thanks in advance!

1 reply

ParthaSarathy
Community Advisor
Community Advisor
January 22, 2025

Hi @jackbayer13 ,

You can try the script given in this 'Tuesday tech bytes' thread 

 ~  ParthaSarathy S~  Click here to join ADOBE CAMPAIGN USER GROUP for Quarterly In-person | Hybrid | Virtual Meetups
January 24, 2025

Hi Partha,

 

This script seemed to work in STAGE, but now I'm trying to run it in PROD and it doesn't seem to be working.

 

Thanks

March 18, 2025

Hi @jackbayer13 ,

As it is working in Stage but not in Production, you might not have access to update this field in database. Connect with your database team for the access (This database access is different from Admin access in ACC console)


Hi @parthasarathy 

 

Where are the access rights to update database fields controlled from? Is it controlled within the instance?

 

Thanks,

 

Jack