Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagec#
/// <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; }

Serialization

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:

Code Block
languagejs
JSON.parse(JSON.stringify(YourTemplateContract))