Versions Compared

Key

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

...

Code Block
    /// <summary></summary>
    [DataMember]
    public string DisplayName { get; set; }

    /// <summary></summary>
    [DataMember]
    public string ResourceIdentifier { get; set; }

    /// <summary></summary>
    [DataMember]
    public uint ResourceTypeId { get; set; }

    /// <summary></summary>
    [DataMember]
    public string ResourceType { get; set; }

    /// <summary></summary>
    [DataMember]
    public string ResourceGroup { get; set; }

    /// <summary></summary>
    [DataMember]
    public string ForeignId { get; set; }

    /// <summary></summary>
    [DataMember]
    public bool DeletePending { get; set; }

    /// <summary></summary>
    [DataMember]
    public bool IsProvisioned { get; set; }

    /// <summary></summary>
    [DataMember]
    public string Owner { get; set; }

    /// <summary></summary>
    [DataMember]
    public uint ResourceOwnerCoreIdentityId { get; set; }

    /// <summary>With the attribute system name as the key, and the value of the attribute as the value</summary>
    [DataMember]
    public Dictionary<string, object> Attributes { 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
JSON.parse(JSON.stringify(YourTemplateContract))