Categorie: reference
Bijgewerkt: 2026-04-08
actionfield workflow actionfield973
ActionField973
Beschrijving: Create PDF report based on SafetyIncident (incident), change status of SafetyIncident to Reported and send email with the report. Custom: Nee
Propertiesbewerken
| Property | Type | Accessor |
|---|---|---|
| SafetyIncident | SafetyIncident | Root |
| CreateObjectDocument | Boolean | Optional |
| EmailAttachmentName | String | Optional |
| FileSystemPath | FileSystemPath | Optional |
| UseProgressStatus | ProgressStatus | Optional |
XMLbewerken
<Workflow Name="ActionField973" Version="2025.07.28" WorkflowType="Standard" xmlns="urn:Ultimo.Framework.Workflow-mapping">
<Security EditLevel="10" ViewLevel="20" UserContentLevel="30" />
<Description>Create PDF report based on SafetyIncident (incident), change status of SafetyIncident to Reported and send email with the report.</Description>
<Properties>
<Property Name="SafetyIncident" Type="SafetyIncident" Accessor="Root" Direction="In" />
<Property Name="CreateObjectDocument" Type="Boolean" Accessor="Optional" Direction="In" Default="True" Comment="Create a (Object)Document for SafetyIncident" />
<Property Name="EmailAttachmentName" Type="String" Accessor="Optional" Direction="In" Default="#label(REPORT_HSE_INCIDENT)" Comment="Name for PDF attached to Email" />
<Property Name="FileSystemPath" Type="FileSystemPath" Accessor="Optional" Direction="In" Default="001" Comment="Save Report/Document to this Path" />
<Property Name="UseProgressStatus" Type="ProgressStatus" Accessor="Optional" Direction="In" Default="141" Comment="Bypass dialog and just set this ProgressStatus" />
<Property Name="Document" Type="Document" Accessor="Internal" Comment="Used in UserContentPre at some customers" />
<Property Name="DocumentDescription" Type="String" Accessor="Internal" Default="#contextdescription(${SafetyIncident}) ${SafetyIncident.Id} - ${SafetyIncident.Description} (Original)" Comment="Used in UserContentPre at some customers" />
<Property Name="EmailRecipientList" Type="List[Employee]" Accessor="Internal" Comment="Used in UserContent Pre/Post at some customers" />
<Property Name="FieldWidth" Type="Int32" Accessor="Internal" Comment="Used in UserContentPre at some customers" />
<Property Name="MaxLenght" Type="Int32" Accessor="Internal" Comment="Used in UserContentPre at some customers (including spelling error)" />
<Property Name="ObjectDocument" Type="ObjectDocument" Accessor="Internal" Comment="Used in UserContentPre at some customers" />
<Property Name="ProgressStatusHistories" Type="List[ObjectProgressStatusHistory]" Accessor="Internal" Comment="Used in UserContentPre at some customers" />
<Property Name="ReportData" Type="ReportData" Accessor="Internal" Comment="Used in UserContent Pre/Post at some customers" />
<Property Name="ShortDescription" Type="String" Accessor="Internal" Comment="Used in UserContentPre at some customers" />
</Properties>
<Execution>
<UserContent Name="Pre" />
<WorkflowCall Name="SafetyIncident_Report" WorkflowName="SafetyIncident_Report">
<Parameter Name="CreateObjectDocument" Direction="In" Value="${CreateObjectDocument}" />
<Parameter Name="FileSystemPath" Direction="In" Value="${FileSystemPath}" />
<Parameter Name="SafetyIncident" Direction="In" Value="${SafetyIncident}" />
<Parameter Name="UseProgressStatus" Direction="In" Value="${UseProgressStatus}" />
<Parameter Name="EmailAttachmentName" Direction="InOut" Value="${EmailAttachmentName}" OutputProperty="${EmailAttachmentName}" />
<Parameter Name="EmailRecipientList" Direction="Out" OutputProperty="${EmailRecipientList}" />
<Parameter Name="ReportData" Direction="Out" OutputProperty="${ReportData}" />
</WorkflowCall>
<Message Name="ummSAFETYINCIDENTREPORTED" MessageCode="1897">
<Parameter Name="SafetyIncident" Direction="In" Value="${SafetyIncident}" />
</Message>
<UserContent Name="Post" />
</Execution>
</Workflow>