Categorie: reference
Bijgewerkt: 2026-04-08
actionfield workflow actionfield1710
ActionField1710
Beschrijving: Create (master-incident) news. Custom: Nee
Propertiesbewerken
| Property | Type | Accessor |
|---|---|---|
| Job | Job | Root |
| ScreenName | UltimoString | Optional |
XMLbewerken
<Workflow Name="ActionField1710" Version="2025.07.28" WorkflowType="Standard" xmlns="urn:Ultimo.Framework.Workflow-mapping">
<Security EditLevel="10" ViewLevel="20" UserContentLevel="30" />
<Description>Create (master-incident) news.</Description>
<Properties>
<Property Name="Job" Type="Job" Accessor="Root" Direction="In" />
<Property Name="ScreenName" Type="UltimoString" Accessor="Optional" Direction="In" Default="NEW04" />
<Property Name="News" Type="News" Accessor="Internal" />
</Properties>
<Execution>
<UserContent Name="Pre" />
<Validation Name="Job is no masterjob" Condition="${Job.IsMaster} == true" MessageCode="3417">
<Parameter Name="Job" Direction="In" Value="${Job}" />
</Validation>
<Transaction>
<Insert Name="Insert news" ObjectType="News" OutputProperty="${News}">
<Parameter Name="Context" Direction="In" Value="NewsContext.MasterIncident" />
<Parameter Name="Body" Direction="In" Value="=#htmltoplain(${Job.Text})" />
<Parameter Name="Employee" Direction="In" Value="#{User.EmployeeId}" />
<Parameter Name="Job" Direction="In" Value="${Job}" />
<Parameter Name="Site" Direction="In" Value="${Job.Site}" />
<Parameter Name="Title" Direction="In" Value="${Job.Description}" />
</Insert>
</Transaction>
<UserContent Name="Post" />
<View Name="OpenScreen" ViewName="DataEntryScreen">
<Parameter Name="DomainObject" Direction="In" Value="${News}" />
<Parameter Name="ScreenName" Direction="In" Value="${ScreenName}" />
</View>
</Execution>
</Workflow>