- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-21-2023 01:59 AM - edited 08-21-2023 05:26 AM
Hi All,
I have enabled 'Retire' button on knowledge form when state or workflow = 'Review' and it should retire that article.
but when workflow = 'Published' then its working perfectly.
Scenario - Admin wants to retire article when it is assigned for Approval instead of reject and then retire.
Let me know if you need more info.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-21-2023 06:04 AM
the OOB script is complicated as it is calling script include to check it can retire or not.
I don't recommend to touch any of these OOB script.
Instead let that retire be same OOB where displays only on Published. Then create new Retire UI action and give condition to show only on Review and write your own code to retire it.
Bharath Chintala
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-21-2023 06:04 AM
the OOB script is complicated as it is calling script include to check it can retire or not.
I don't recommend to touch any of these OOB script.
Instead let that retire be same OOB where displays only on Published. Then create new Retire UI action and give condition to show only on Review and write your own code to retire it.
Bharath Chintala
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-04-2023 02:15 AM
Hello @BharathChintala ,
As you suggested I have created new UI action and called "retire workflow" and when I click to "Retire" the workflow state changes to from 'Review' to 'Pending Retirement' and waiting for approval.
But approvals that were already created for review and again create for pending retirement, means double same approval and when I approve the most recent approval, sometimes it gets retired or moves to the workflow state for review.
let me know if you need more explanation.