Hide related action once it is completed

In Related Actions, we have a requirement to hide the action once it is complete. But its not happening right now.

Say, there is an Approval process called in Related Actions. When the approval is done, the action should hide automatically when the user completes the process and returns back to the Related Actions. However, the action is not hiding based on the Visibility condition. Once when the User completes the process, the page redirects the User to the Related Actions page and only when the User clicks on the Related Actions on the left pane, the page gets refreshed and the action hides, else it doesn't.

Any work around for this ?? AFAIK this is the default characteristic of the product.

Please suggest... Thanks!

OriginalPostID-153590

OriginalPostID-153590

  Discussion posts and replies are publicly visible

Parents
  • I had a similar use case where I had to hide related action once it is complete. I maintained one database column which was set to true once the process is complete. And related action is hidden when column value is true. You can retrieve the column value and do comparison on it using query entity and call the expression rule from visibility expression. Example of visibility expression ...
    length( index(rule!COMMON_getApplicationScheduleTriggersByApplicationId_queryExtity(rp!id,true()),"id","")) > 0
Reply
  • I had a similar use case where I had to hide related action once it is complete. I maintained one database column which was set to true once the process is complete. And related action is hidden when column value is true. You can retrieve the column value and do comparison on it using query entity and call the expression rule from visibility expression. Example of visibility expression ...
    length( index(rule!COMMON_getApplicationScheduleTriggersByApplicationId_queryExtity(rp!id,true()),"id","")) > 0
Children
No Data