Consider sessionId in publish event +

Upgrade package to 1.1.0-preview.21
This commit is contained in:
Behzad Alizadeh
2026-07-22 10:52:25 +03:30
parent 2b15c8a1af
commit 83738f809b
7 changed files with 310 additions and 63 deletions
@@ -18,6 +18,9 @@ namespace Caspian.WorkflowFramework.Utility
if (dictionary == null || dictionary.Count == 0)
return workflowModel;
// قبل از تبدیل به مدل خروجی، sessionId حذف می‌شود.
dictionary.RemoveSessionId();
//Map dictionary values to WorkflowModel properties
workflowModel.InstanceId = dictionary.ContainsKey(nameof(workflowModel.InstanceId))
? dictionary[nameof(workflowModel.InstanceId)]?.ToString()