IBM Case Manager (ICM), IBM Case Manager Client

Disable or Hide Response Button in IBM ICM Client

January 11, 2019

In ICM 5.2.x / 5.3.x, you can simply hide or disable response button using script adaptor without removing it permanently from ICM.

Following are the steps to achieve this requirement:

  • Edit the Work Details page in ICM Builder.
  • Add a new script adaptor and named it unique.
  • Paste the following code:

var editable = payload.workItemEditable;
if ( === “TestRole”) {
var workItem = editable.icmWorkItem; var newResponses = workItem.responses.filter(function(response) { return response !== "Complete"; }); workItem.responses = newResponses;

/* Note: Change Role Name and Response Name according to yours. */
  • Edit Event Wiring. Select source widget Page Container and set its incoming wiring with Send Work Item as mentioned below:
  • Save, close and deploy Solution.
  • Test the case where you disable response button disabled. It will be hide on that particular role.


ICM 5.2.x / 5.3.x .

Here is the DevlopersWork Post for details:

You Might Also Like

No Comments

Leave a Reply