Set Change Request State - Technical preview

This workflow sets the state of a ChaRM change request document, for example to In Development. Your ChaRM configuration determines the allowed states that a change request document may be set to; you can’t use the workflow to set a change request document states that your ChaRM configuration would not allow.

Note that this workflow doesn’t support all ChaRM change request document types.

Prerequisites

Before you begin, you will need to do the following:

Create an SAP Solution Manager Test Repository

The first step to create an SAP Solution Manager Test Repository that connects to your ChaRM system. The account used the Test Repository definition should have the authorizations required to set ChaRM change request document states.

Find the change request document IDs

The next step is to ChaRM and find the IDs of the change request documents whose state you wish to set.

Find the identifiers for the target states

The final step is to use the Get Change Request Type Statuses workflow to find the identifiers for the new states you wish to set.

Prepare the workflow

To prepare the Set Change Request State workflow, drag its workflow template from the Templates > Tools folder into your own workspace, and modify the workflow as follows:

  1. Edit the Test Repository parameter and select the SAP Solution Manager Test Repository that connects to your ChaRM system.

  2. Edit the Source parameter. Clear the existing entries and add new table rows for each change request documents whose states you wish to set. Set the CHANGE_ID column to the change request document’s ID, and the STATE column to the identifier for the document state you wish to set.

Click Save tool button. to save the workflow.

Run the workflow

To run the Set Change Request State workflow, click the Run tool button. toolbar button, choose Run Now from the diagram’s context menu, or select F5. The currently running workflow action is marked with an animated display. When the workflow execution has completed, select the Result dataset and choose View Details from the context menu to view the workflow’s results.

Workflow results

The Result dataset has the following columns:

Column Description
CHANGE_ID The ID of the ChaRM document whose state was to be set.
GUID_S The ChaRM document’s GUID as a string.
GUID_D The ChaRM document’s GUID, with groups of characters separated by dashes.
STATE The ID of the ChaRM document’s target state.
STATUS The result of setting the ChaRM document’s state.