From a66c970684d7a46a1ac7b4374cdf1d9ed8b9ab2c Mon Sep 17 00:00:00 2001 From: Christian Kittel Date: Sat, 6 Mar 2021 18:03:42 +0100 Subject: [PATCH] #76 Added support for extension properties in external tasks --- Camunda.Api.Client/ExternalTask/FetchExternalTaskTopic.cs | 5 +++++ Camunda.Api.Client/ExternalTask/LockedExternalTask.cs | 6 +++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/Camunda.Api.Client/ExternalTask/FetchExternalTaskTopic.cs b/Camunda.Api.Client/ExternalTask/FetchExternalTaskTopic.cs index ff69d0d..8cc28b0 100644 --- a/Camunda.Api.Client/ExternalTask/FetchExternalTaskTopic.cs +++ b/Camunda.Api.Client/ExternalTask/FetchExternalTaskTopic.cs @@ -82,6 +82,11 @@ public FetchExternalTaskTopic(string topicName, long lockDuration) /// public bool WithoutTenantId; + /// + /// Include extension properties define in BMPN activity. + /// + public bool IncludeExtensionProperties; + public override string ToString() => TopicName; } } \ No newline at end of file diff --git a/Camunda.Api.Client/ExternalTask/LockedExternalTask.cs b/Camunda.Api.Client/ExternalTask/LockedExternalTask.cs index de572e5..aa0d43d 100644 --- a/Camunda.Api.Client/ExternalTask/LockedExternalTask.cs +++ b/Camunda.Api.Client/ExternalTask/LockedExternalTask.cs @@ -1,4 +1,3 @@ -using System; using System.Collections.Generic; namespace Camunda.Api.Client.ExternalTask @@ -9,5 +8,10 @@ public class LockedExternalTask : ExternalTaskInfo /// Object containing a property for each of the requested variables. /// public Dictionary Variables; + + /// + /// Object containing all extended properties from the BPMN for this task. + /// + public Dictionary ExtensionProperties; } }