Categorie: reference
Bijgewerkt: 2026-04-08
actionfield workflow actionfield1136
ActionField1136
Beschrijving: Open Document from JobPlan. Custom: Nee
Propertiesbewerken
| Property | Type | Accessor |
|---|---|---|
| JobPlan | JobPlan | Root |
| OpenInNewWindow | Boolean | Optional |
XMLbewerken
<Workflow Name="ActionField1136" Version="2025.07.28" WorkflowType="Standard" xmlns="urn:Ultimo.Framework.Workflow-mapping">
<Security EditLevel="10" ViewLevel="20" UserContentLevel="30" />
<Description>Open Document from JobPlan.</Description>
<Properties>
<Property Name="JobPlan" Type="JobPlan" Accessor="Root" Direction="In" />
<Property Name="OpenInNewWindow" Type="Boolean" Accessor="Optional" Direction="In" Default="True" Comment="Open the Document in a new window True or False" />
</Properties>
<Execution>
<UserContent Name="Pre" />
<Validation Name="Check for document" Condition="${JobPlan.Document} != Empty" MessageCode="2349">
<Parameter Name="JobPlan" Direction="In" Value="${JobPlan}" />
</Validation>
<WorkflowCall Name="Check if document exist" WorkflowName="Document_CheckIfPhysicallyPresent">
<Parameter Name="Document" Direction="In" Value="${JobPlan.Document}" />
</WorkflowCall>
<UserContent Name="Post" />
<View Name="Open Document" ViewName="DocumentViewer">
<Parameter Name="DocId" Direction="In" Value="${JobPlan.Document.Id}" />
<Parameter Name="OpenInNewWindow" Direction="In" Value="${OpenInNewWindow}" />
</View>
</Execution>
</Workflow>