Updating Workflow File

Update the workflow file with the attributes used for the record attribute levels grouping.

Prerequisites

While defining the record attributes in the workflow file, ensure that the same attributes names are updated in the .json file.

Procedure

  1. Locate the "workflow" folder under the commondir "Enterprise" directory. For example, if the enterprise name is "acme", the directory is /commondir/acme/workflow.
  2. Open the workflow file where CreateWorkItem activity is defined. For example, the wfin26productaddapprovalv3.xml file.
  3. Enter the record attributes.
    <Activity Name="InternalEditWorkItem">		
    <Action>CreateWorkItem</Action>		
    <Description lang="en">Create workitem for edit of the new record</Description>		
    <Execution>SYNCHR</Execution>		
    <Parameter direction="in" eval="constant" type="string" name="Intent">Edit</Parameter>				
    <Parameter name="RecordAttributeName" direction="in" type="string" eval="constant">FIRSTNAME</Parameter>    
    <Parameter name="RecordAttributeName1" direction="in" type="string" eval="constant">MIDDLENAME</Parameter>    
    <Parameter name="RecordAttributeName2" direction="in" type="string" eval="constant">LASTNAME</Parameter>	
    <Parameter name="RecordAttributeName3" direction="in" type="string" eval="constant">STREET</Parameter>   
    <Parameter name="RecordAttributeName4" direction="in" type="string" eval="constant">CITY</Parameter>    
    <Parameter name="RecordAttributeName5" direction="in" type="string" eval="constant">COUNTRY</Parameter>		    	
    <Parameter direction="in" eval="constant" type="boolean" name="ValidateUsingRuleBase">false</Parameter>		
    <Parameter direction="in" name="ReferenceStepID" eval="variable" type="long">pl1</Parameter>		
    <Parameter direction="in" eval="rule" source="New Record Introduction Edit" type="long" name="ParticipantID">workDoc</Parameter>		
    <Parameter direction="in" eval="rule" source="New Record Introduction Edit" type="string" name="ParticipantType">workDoc</Parameter>
    <Parameter direction="in" eval="constant" type="string" name="FormPresentation">com.tibco.mdm.ui.workflow.engine.workitem.templates.ProductAddEdit</Parameter>
    <Parameter direction="in" eval="constant" type="string" name="TaskType">CATALOGMESSAGE</Parameter>		
    <Parameter direction="in" eval="variable" type="document" name="InDocument">workDoc</Parameter>		
    <Parameter direction="out" eval="variable" type="document" name="OutDocument">wiDoc</Parameter>		
    <Parameter direction="out" eval="variable" type="boolean" name="WorkItemCreated">editFlag</Parameter>		
    <Parameter direction="out" eval="variable" type="boolean" name="MergedDocument">workDoc</Parameter>		
    <Parameter direction="in" eval="constant" type="string" name="ExpiryType">RELATIVE</Parameter>		
    <Parameter direction="in" eval="constant" type="string" name="ExpiryDate">1:0:0:0</Parameter>	
    </Activity>
  4. Save the workflow file.