The GetIdentityTemplateDataContract
activity can be used to get the DataContract using IdentityId
. This activity is available from version 8.2.
The following input data can be configured for the activity.
The identifier of the Identity.
A IdentityTemplateDataContract
with the following definition:
/// <summary></summary> [DataMember] public string IdentityType { get; set; } /// <summary></summary> [DataMember] public string TargetSystem { get; set; } /// <summary></summary> [DataMember] public string TargetNetwork { get; set; } /// <summary></summary> [DataMember] public string UserId { get; set; } /// <summary>The key is the attribute name and the value contains the value of the attribute</summary> [DataMember] public Dictionary<string, object> Attributes { get; set; } /// <summary></summary> [DataMember] public DateTime ValidFrom { get; set; } /// <summary></summary> [DataMember] public DateTime? ValidTo { get; set; } |
To be able to use it in the ConvertObjectToXml activity because of how the workflow engine handles complex objects it needs to be converted to plain JSON again.
This can be achieved in Javascript with:
JSON.parse(JSON.stringify(YourTemplateContract)) |