Example for UpdateHierarchyLink Activity

The following example updates the hierarchy link as CONFIRMED.
<Activity Name="UpdateHierarchyLinkAsApproved">		
<Action>UpdateHierarchyLink</Action>		
<Description lang="en">Set the hierarchy linking result as confirmed</Description>		
<Parameter direction="in" type="string" eval="constant" name="eventState">UPDATEHIERARCHYLINK</Parameter>		
<Parameter direction="in" name="Status" type="string" eval="constant">CONFIRMED</Parameter>		
<Parameter direction="in" name="InDocument" type="document" eval="variable">workDoc</Parameter>		
<Parameter direction="out" eval="variable" type="document" name="OutDocument">workDoc</Parameter>	
</Activity>

The following example updates the hierarchy link as REJECTED.

<Activity Name="UpdateHierarchyLinkAsRejected">		
<Action>UpdateHierarchyLink</Action>		
<Description lang="en">Set the hierarchy linking result as rejected</Description>		
<Parameter direction="in" type="string" eval="constant" name="eventState">UPDATEHIERARCHYLINK</Parameter>		
<Parameter direction="in" name="Status" type="string" eval="constant">REJECTED</Parameter>		
<Parameter direction="in" name="InDocument" type="document" eval="variable">workDoc</Parameter>		
<Parameter direction="out" eval="variable" type="document" name="OutDocument">workDoc</Parameter>	
</Activity>