GetCurrentProcessRequest
The ProcessId and RequestId values of a process can be accessed using the following codes.
DocumentId and UserId values should be given as parameters.
Required Libraries
using Bimser.Synergy.Entities.Workflow.EventArguments;
using System;
using Bimser.Synergy.ServiceAPI;
using Bimser.Synergy.ServiceAPI.Models.Authentication;
using Newtonsoft.Json;
using Bimser.Synergy.Entities.Shared.Business.Objects;
using Bimser.CSP.Runtime.Common.Extensions;
Codes
ServiceApi.WorkflowManager.GetCurrentProcessRequest(Document1.DocumentId,userid);