Changing the Stages
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-25-2008 07:05 AM
Hi,
In the Service Catalog - Request Items a 'Stage' field is available. This stage field is used to represent the Workflow. This Workflow seems always to start with 'Waiting for Approval' , even if no approval was necessary or if an approval is still to come (on task level).
What I would like to do: replace 'Waiting for approval' for 'Submitted'.
What I did:
- Changed the message in System UI (no luck);
- Changed the Choice option for the stage field (no luck).
Anyone any idea on how to target this?
Thanks!
- Labels:
-
Service Mapping
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-03-2008 06:52 AM
For workflow, look at these lines in the same rule
if (current.approval == 'not requested') {
c = answer.add('waiting_for_approval', gs.getMessage("Waiting for Request Approval"));
c.setImage("images/workflow_requested.gifx");
} else if (current.approval == 'requested') {
c = answer.add('request_approved', gs.getMessage("Request Approved"));
c.setImage("images/workflow_approved.gifx");
} else if (current.approval == 'approved') {
c = answer.add('approved', gs.getMessage("Approved"));
c.setImage("images/workflow_approved.gifx");
} else if (current.approval == 'rejected') {
c = answer.add("rejected", gs.getMessage("Request Rejected"));
c.setImage("images/workflow_approval_rejected.gifx");
} else if (isRejected) {
c = answer.add("rejected", gs.getMessage("Rejected"));
c.setImage("images/workflow_approval_rejected.gifx");
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-07-2008 04:38 AM
I'm sorry Paul, but I do not see that code in the rule. It's not present in our system, nor in /demo......
What business rule are you referring to?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-07-2008 09:34 AM
Sorry, I assumed you activated the workflow plugin. I just tested in /demo and commenting out that line should still work
// answer.add("waiting_for_approval", gs.getMessage("Waiting for Approval")); // always add this
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-08-2008 01:23 AM
Commenting out that line is removing the step from the list. That's not what we want.
I want the message 'Approved' to change to 'Submitted'. Now, trying to change the 'waiting for approval' message, we effectively change the wrong entry. Once a Request is approved, the first stage in the list is 'Approved' and it is not controlled with the business rule mentioned before........