Categorie: reference
Bijgewerkt: 2026-04-08
actionfield workflow actionfield1728
ActionField1728
Beschrijving: Clear non-applicable properties when authentication method or protocol is changed on EmailServerAccount Custom: Nee
Propertiesbewerken
| Property | Type | Accessor |
|---|---|---|
| EmailServerAccount | EmailServerAccount | Root |
XMLbewerken
<Workflow Name="ActionField1728" Version="2025.07.28" WorkflowType="Standard" xmlns="urn:Ultimo.Framework.Workflow-mapping">
<Security EditLevel="10" ViewLevel="20" UserContentLevel="30" />
<Description>Clear non-applicable properties when authentication method or protocol is changed on EmailServerAccount</Description>
<Properties>
<Property Name="EmailServerAccount" Type="EmailServerAccount" Accessor="Root" Direction="In" />
</Properties>
<Execution>
<UserContent Name="Pre" />
<Transaction>
<Choose Name="Check which authentication method is selected">
<When Name="When basic authentication is selected" Condition="${EmailServerAccount.AuthenticationMethod} == Basic">
<Assign Name="Clear credential" Property="${EmailServerAccount.Credential}" Value="Empty" />
</When>
<When Name="When Open Autherization 2.0 is selected" Condition="${EmailServerAccount.AuthenticationMethod} == 'OAuth2_0'">
<When Name="When protocol is EWS or Outlook" Condition="${EmailServerAccount.Protocol} == Ews || ${EmailServerAccount.Protocol} == Outlook">
<Assign Name="Clear user name as well" Property="${EmailServerAccount.UserName}" Value="Empty" />
</When>
<Assign Name="Clear password" Property="${EmailServerAccount.Password}" Value="Empty" />
</When>
</Choose>
<Choose Name="Check which protocol is selected">
<When Name="When protocol is IMAP or POP3" Condition="${EmailServerAccount.Protocol} == Imap || ${EmailServerAccount.Protocol} == Pop3">
<Assign Name="Clear email address" Property="${EmailServerAccount.EmailAddress}" Value="Empty" />
</When>
<When Name="When protocol is EWS or Outlook" Condition="${EmailServerAccount.Protocol} == Ews || ${EmailServerAccount.Protocol} == Outlook">
<Assign Name="Clear server name" Property="${EmailServerAccount.ServerName}" Value="Empty" />
</When>
</Choose>
</Transaction>
<UserContent Name="Post" />
</Execution>
</Workflow>