Categorie: reference
Bijgewerkt: 2026-04-08
actionfield workflow actionfield1644
ActionField1644
Beschrijving: Write OrderByTheme from SurveyTemplateLineTheme to SurveyTemplateLineQuestions. Custom: Nee
Propertiesbewerken
| Property | Type | Accessor |
|---|---|---|
| SurveyTemplateLine | SurveyTemplateLine | Root |
XMLbewerken
<Workflow Name="ActionField1644" Version="2025.07.28" WorkflowType="Standard" xmlns="urn:Ultimo.Framework.Workflow-mapping">
<Security EditLevel="10" ViewLevel="20" UserContentLevel="30" />
<Description>Write OrderByTheme from SurveyTemplateLineTheme to SurveyTemplateLineQuestions.</Description>
<Properties>
<Property Name="SurveyTemplateLine" Type="SurveyTemplateLine" Accessor="Root" Direction="In" />
<Property Name="OrderByQuestion" Type="Int16" Accessor="Internal" />
<Property Name="OrderByTheme" Type="Int16" Accessor="Internal" />
<Property Name="SurveyTemplateLines" Type="List[SurveyTemplateLine]" Accessor="Internal" />
</Properties>
<Execution>
<UserContent Name="Pre" />
<When Name="Theme choosen" Condition="${SurveyTemplateLine.Context} == SurveyTemplateLineContext.Theme">
<Transaction>
<GetList Name="Get SurveyTemplateLine" Type="SurveyTemplateLine" OutputProperty="${SurveyTemplateLines}" OrderBy="OrderByTheme" OrderDirection="Ascending">
<Filters>
<PropertyFilter PropertyName="Id.SurveyTemplate" Operator="=" PropertyValue="${SurveyTemplateLine.Id.SurveyTemplate}" />
<PropertyFilter PropertyName="Context" Operator="=" PropertyValue="SurveyTemplateLineContext.Question" />
<PropertyFilter PropertyName="Theme" Operator="=" PropertyValue="${SurveyTemplateLine.Theme}" />
</Filters>
</GetList>
<ForEach Name="For all SurveyTemplateLines Questions" In="${SurveyTemplateLines}" As="SurveyTemplateLineQuestion">
<Assign Name="Set OrderByTheme" Property="${SurveyTemplateLineQuestion.OrderByTheme}" Value="${SurveyTemplateLine.OrderByTheme}" />
</ForEach>
</Transaction>
</When>
<UserContent Name="Post" />
</Execution>
</Workflow>