Categorie: reference
Bijgewerkt: 2026-04-08
actionfield workflow actionfield1790
ActionField1790
Beschrijving: Change linked articles with the correct value of AddToBillOfMaterials Custom: Nee
Propertiesbewerken
| Property | Type | Accessor |
|---|---|---|
| ArticleGroup | ArticleGroup | Root |
XMLbewerken
<Workflow Name="ActionField1790" Version="2025.07.28" WorkflowType="Standard" xmlns="urn:Ultimo.Framework.Workflow-mapping">
<Security EditLevel="10" ViewLevel="20" UserContentLevel="30" />
<Description>Change linked articles with the correct value of AddToBillOfMaterials</Description>
<Properties>
<Property Name="ArticleGroup" Type="ArticleGroup" Accessor="Root" Direction="In" />
<Property Name="Articles" Type="List[Article]" Accessor="Internal" />
</Properties>
<Execution>
<UserContent Name="Pre" />
<Transaction>
<Toggle Name="Set ArticleGroup AddToBillOfMaterials to original value" Property="${ArticleGroup.AddToBillOfMaterials}" />
</Transaction>
<ContinuationQuestion Name="Change AddToBillOfMaterials?" MessageCode="3677">
<Parameter Name="ArticleGroup" Direction="In" Value="${ArticleGroup}" />
</ContinuationQuestion>
<Transaction>
<GetList Name="Get all articles for this ArticleGroup" Type="Article" OutputProperty="${Articles}" OrderBy="Id" OrderDirection="Ascending">
<Filters>
<PropertyFilter PropertyName="ArticleGroup" Operator="=" PropertyValue="${ArticleGroup}" />
</Filters>
</GetList>
<Toggle Name="Set ArticleGroup AddToBillOfMaterials to original value" Property="${ArticleGroup.AddToBillOfMaterials}" />
<ForEach Name="Loop articles" In="${Articles}" As="Article">
<Assign Name="Set Article AddToBillOfMaterials" Property="${Article.AddToBillOfMaterials}" Value="${ArticleGroup.AddToBillOfMaterials}" />
</ForEach>
</Transaction>
<UserContent Name="Post" />
</Execution>
</Workflow>