Knowledge Article to Publish Article via Transform Script

Saib1
Tera Guru

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?

 

 

1 ACCEPTED SOLUTION

shloke04
Kilo Patron

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

Hope this helps. Please mark the answer as correct/helpful based on impact.

Regards,
Shloke

View solution in original post

7 REPLIES 7

Jake Sadler
Kilo Sage

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

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 

 

 

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.

shloke04
Kilo Patron

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:

find_real_file.png

Hope this helps. Please mark the answer as correct/helpful based on impact.

Regards,
Shloke

Hope this helps. Please mark the answer as correct/helpful based on impact.

Regards,
Shloke