You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: engine-adapter/c7-embedded-core/src/main/kotlin/dev/bpmcrafters/processengineapi/adapter/c7/embedded/task/delivery/TaskInformationExtensions.kt
Copy file name to clipboardExpand all lines: engine-adapter/c7-embedded-core/src/test/kotlin/dev/bpmcrafters/processengineapi/adapter/c7/embedded/task/delivery/TaskInformationExtensionsKtTest.kt
Copy file name to clipboardExpand all lines: engine-adapter/c7-remote-core/src/main/kotlin/dev/bpmcrafters/processengineapi/adapter/c7/remote/task/delivery/TaskInformationExtensions.kt
+17-10Lines changed: 17 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -15,22 +15,22 @@ import java.util.*
15
15
fun LockedExternalTaskDto.toTaskInformation(pdMetaDataResolver:ProcessDefinitionMetaDataResolver): TaskInformation=
16
16
TaskInformation(
17
17
taskId =this.id!!,
18
-
meta =mapOf(
18
+
meta =metaOf(
19
19
CommonRestrictions.ACTIVITY_ID to this.activityId,
20
20
CommonRestrictions.PROCESS_DEFINITION_ID to this.processDefinitionId,
21
21
CommonRestrictions.PROCESS_DEFINITION_KEY to this.processDefinitionKey,
22
22
CommonRestrictions.PROCESS_INSTANCE_ID to this.processInstanceId,
23
23
CommonRestrictions.TENANT_ID to this.tenantId,
24
24
"topicName" to this.topicName,
25
25
"creationDate" to this.createTime.toDateString(),
26
-
TaskInformation.RETRIES to (this.retries?.toString() ?:""),
26
+
TaskInformation.RETRIES to this.retries?.toString(),
0 commit comments