- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-10-2022 02:07 AM
Hi,
I am trying to update the Knowledge Article which is Published .
Without Affecting the Workflow how to update it via Transform Map .
some thing like setWorkflow =false
Is there any Transform Script to do it?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-10-2022 02:36 AM
Also to add, when you un check the "Run Business Rule" field as false it will not trigger any script when you transform your data which is same as setWorkflow(false)".
Please let me know if you have a follow up query on this.
Hope this helps. Please mark the answer as correct/helpful based on impact.
Regards,
Shloke
Regards,
Shloke
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-10-2022 02:31 AM
Hi,
If the workflow is to publish the article, the transform map does the same thing as the workflow.
You would need to set the workflow to false in this case.
If my answer helped please mark it as helpful or mark my answer as correct if I solved your issue.
Thanks
Jake
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-10-2022 02:33 AM
The kb articles are in published .
Updating the few fields where we need to set the workflow false ? And after updating via transfrom map . It should not go to Draft
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-10-2022 02:38 AM
If these fields get updated in the workflow then it could reset the values after you've changed them. For example, it might go to draft if you the workflow updates the state to draft because an approver rejects the article.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-10-2022 02:34 AM
Hi,
You can use a background script to update a Knowledge article which you need.
If you are using a Transform map for multiple Knowledge articles then it will work but would suggest to make "Run Business Rule" field as False as shown below:
Hope this helps. Please mark the answer as correct/helpful based on impact.
Regards,
Shloke
Regards,
Shloke