Update workflow model labels
Looking for the best approach to update workflow modal label for a specific workflow not for all

Looking for the best approach to update workflow modal label for a specific workflow not for all

@nilesh_mali, there is a workaround that I could implement for one of my requirement,
Created a "cq:ClientLibraryFolder" folder under components in ui.apps.
Set categories as below
categories="[coralui3,coralui2]"and in the js.txt, add a new file with below code
(function(document, $) {
'use strict';
$(document).on('foundation-contentloaded', function(e) {
var selection = $(".foundation-collection-item.foundation-selections-item.is-selected");
if (selection !== null) {
var itemPath = selection.data("foundationCollectionItemId");
if (itemPath === '/var/workflow/models/YOUR-WORKFLOW-MODEL') {
$("input[name='model']").closest('form').find($("textarea[name='startComment']").prev('label')).html('TEXT-TO-REPLACE');
}
}
});
})(document, Granite.$);
Here, itemPath is your Workflow model path in case you want the changes to be specific to a particular WorkFlow.
Hope this workaround works for you!
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.