salajlan/camundacsharpclient

Starting a process with variables?

davidpipes opened this issue · 2 comments

How do you start a process with variables?

Currently I have something like this...

_customCamundaClient.getClient().ProcessDefinition().Id(processId).Start<object>(startProcess.Variables);

startProcess.Variables is of type Dictionary<string, VariableModel>

my VariableModel looks like this

`public class VariableModel
{
///


/// Gets or Sets Type
///

[DataMember(Name="type")]
public string Type { get; set; }

    /// <summary>
    /// Gets or Sets Value
    /// </summary>
    [DataMember(Name="value")]
    public Object Value { get; set; }

    /// <summary>
    /// Gets or Sets ValueInfo
    /// </summary>
    [DataMember(Name="valueInfo")]
    public Dictionary<string, Object> ValueInfo { get; set; }

}`

This project is unmaintained and outdated should never be used

Thank you