Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#76 Added support for extension properties in external tasks #77

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions Camunda.Api.Client/ExternalTask/FetchExternalTaskTopic.cs
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,11 @@ public FetchExternalTaskTopic(string topicName, long lockDuration)
/// </summary>
public bool WithoutTenantId;

/// <summary>
/// Include extension properties define in BMPN activity.
/// </summary>
public bool IncludeExtensionProperties;

public override string ToString() => TopicName;
}
}
6 changes: 5 additions & 1 deletion Camunda.Api.Client/ExternalTask/LockedExternalTask.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
using System;
using System.Collections.Generic;

namespace Camunda.Api.Client.ExternalTask
Expand All @@ -9,5 +8,10 @@ public class LockedExternalTask : ExternalTaskInfo
/// Object containing a property for each of the requested variables.
/// </summary>
public Dictionary<string, VariableValue> Variables;

/// <summary>
/// Object containing all extended properties from the BPMN for this task.
/// </summary>
public Dictionary<string, string> ExtensionProperties;
}
}