KB Recall from Published to draft state
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-20-2024 02:57 AM
when a Knowledge Article is moved from Draft to Review state and when I click on Recall UI Action, the form is again moved to draft state and a new field is being populated. (New Field should populate when Article workflow is changed from Published to Draft(when clicked on Checkout UI Action).
I am unable to use BR because we can't get previous on display BR and on change client script as well the oldValue and newValue is populated as same like 'draft' .
How to achieve this scenario
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-20-2024 05:43 AM
What do you mean the previous state is same as current? If that's the case, the record isn't truly on 'review', but still on 'draft'. It's not saved to the database. You could just refresh your page in that case.
Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-20-2024 06:10 AM
It is getting saved to database. the workflow is moving to review and after that when I click on a 'recall' UI Action, the workflow is getting back to Draft, In which i don't want the changes field to be visible.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-20-2024 06:29 AM
In that case you can use a BR, right?
Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-20-2024 06:36 AM
Yes, I tried using display business but 'changes from' is not working in display BR to store in the value in scratchpad.
Also, in after update BR cannot get the previous value