Skripting standard change creation versus Business Rule
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 hours ago
I searched and found a solution to create a standard change from Script.
Nevertheless I ran into the situation that the script was aborted with the attached message, sttaing that a Business rule prevented the creation of the standard change because of an "inactive" template.
I tripled checked and even created a modified version of but it did not work.
So I came up with the solution to add "chg.setWorkflow(false)". But i do not think that this is not the way it is suposed to work?! Maybe one of the SN developers might check it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
an hour ago
Hi @MartinKolodzey1,
For script or coding related questions it really helps to share that actual code..
Also, when you say “from script” then it’s unclear what kind of script you used. Is it a scheduled job, a flow, a fix script, ... or something else?
The more precise is the question the better and more accurate the answer I can give you ;))
100 % GlideFather experience and 0 % generative AI

