Problem Note 46429: You cannot restart a case workflow in SAS® Enterprise Case Management
When you work with a case in SAS Enterprise Case Management, you might want to restart the workflow for the case. But, there is no way to restart the workflow. For example, you might make a mistake by setting an activity status to an incorrect value, which causes a workflow transition. The case workflow is now incorrect, but you cannot restart the workflow. The only workaround is to create a new case.
Click the Hot Fix tab in this note to access the hot fix for this issue.
After you apply the hot fix, two new Custom Page Builder components are included. These two components enable you to stop the workflow for a case and to start a new workflow for a case. The two new components can be added to your case screen definition. The components are called WorkflowActivationComponent and WorkflowTerminationComponent.
Here is an example of how you might incorporate these components into the Activities section of your case screen definition:
<section id="Activities" expanded="true">
<label><message key="section.action.items.header.txt" /></label>
<if test="IsEntitySaved()">
<if test="not IsCaseWorkflowActive()">
<field name="TEMP.WF_NAME" type="dropdown"
values="GetLabelValues('X_RT_REOPEN_WF')">
<label>Choose Workflow to Open:</label>
</field>
<field name="TEMP.WORKFLOW_ACTIVATION" type="component"
component-name="WorkflowActivationComponent">
<label>Activate Workflow</label>
<param name="workflowNameField" value="'TEMP.WF_NAME'"/>
</field>
</if>
<if test="IsCaseWorkflowActive()">
<field name="TEMP.WorkflowActivities type="component"
component-name="WorkflowActivities" " />
<field name="TEMP.WORKFLOW_TERMINATION" type="component"
component-name="WorkflowTerminationComponent">
<label>Terminate Workflow</label>
<param name="newStatus" value="'C'" />
</field>
</if>
</if>
</section>
Operating System and Release Information
SAS System | SAS Enterprise Case Management | Microsoft® Windows® for x64 | 2.3 | 3.1 | 9.2 TS2M3 | 9.3 TS1M1 |
Microsoft Windows Server 2003 Datacenter Edition | 2.3 | 3.1 | 9.2 TS2M3 | 9.3 TS1M1 |
Microsoft Windows Server 2003 Enterprise Edition | 2.3 | 3.1 | 9.2 TS2M3 | 9.3 TS1M1 |
Microsoft Windows Server 2003 Standard Edition | 2.3 | 3.1 | 9.2 TS2M3 | 9.3 TS1M1 |
Microsoft Windows Server 2003 for x64 | 2.3 | 3.1 | 9.2 TS2M3 | 9.3 TS1M1 |
Microsoft Windows Server 2008 | 2.3 | 3.1 | 9.2 TS2M3 | 9.3 TS1M1 |
Microsoft Windows Server 2008 for x64 | 2.3 | 3.1 | 9.2 TS2M3 | 9.3 TS1M1 |
Microsoft Windows XP Professional | 2.3 | 3.1 | 9.2 TS2M3 | 9.3 TS1M1 |
Windows 7 Enterprise 32 bit | 2.3 | 3.1 | 9.2 TS2M3 | 9.3 TS1M1 |
Windows 7 Enterprise x64 | 2.3 | 3.1 | 9.2 TS2M3 | 9.3 TS1M1 |
Windows 7 Home Premium 32 bit | 2.3 | 3.1 | 9.2 TS2M3 | 9.3 TS1M1 |
Windows 7 Home Premium x64 | 2.3 | 3.1 | 9.2 TS2M3 | 9.3 TS1M1 |
Windows 7 Professional 32 bit | 2.3 | 3.1 | 9.2 TS2M3 | 9.3 TS1M1 |
Windows 7 Professional x64 | 2.3 | 3.1 | 9.2 TS2M3 | 9.3 TS1M1 |
Windows 7 Ultimate 32 bit | 2.3 | 3.1 | 9.2 TS2M3 | 9.3 TS1M1 |
Windows 7 Ultimate x64 | 2.3 | 3.1 | 9.2 TS2M3 | 9.3 TS1M1 |
Windows Vista | 2.3 | 3.1 | 9.2 TS2M3 | 9.3 TS1M1 |
Windows Vista for x64 | 2.3 | 3.1 | 9.2 TS2M3 | 9.3 TS1M1 |
64-bit Enabled AIX | 2.3 | 3.1 | 9.2 TS2M3 | 9.3 TS1M1 |
64-bit Enabled Solaris | 2.3 | 3.1 | 9.2 TS2M3 | 9.3 TS1M1 |
HP-UX IPF | 2.3 | 3.1 | 9.2 TS2M3 | 9.3 TS1M1 |
Linux for x64 | 2.3 | 3.1 | 9.2 TS2M3 | 9.3 TS1M1 |
Solaris for x64 | 2.3 | 3.1 | 9.2 TS2M3 | 9.3 TS1M1 |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
Type: | Problem Note |
Priority: | high |
Date Modified: | 2012-05-07 15:52:28 |
Date Created: | 2012-04-26 13:33:46 |