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
Is there a way to analyze the workflow beforehand to provide the user with a preview of what will happen at each step.
lets say I have a workflow which has 3 steps.
Step1 -> Select Users from database
Step2 -> Send email to selected users
Step3 -> Update users in database and update system admin.
I want to simulate each step and display a possible outcome of each step before the user actually starts the workflow.
So in my case based on different inputs in Step1 different group of users will be selected from Database. I want to display a list of users before executing the actual step.
This could be achieved if Input values are fetched from IStepParameter something like
WorkflowDefinition definition = workflowRegistry.GetDefinition(workflowId, version);
foreach (var step in definition.Steps)
{
if (step.Inputs != null)
{
foreach (IStepParameter input in step.Inputs)
{
//cant get step inputs here !
}
}
}
but unable to get it to working. Is there any way to achieve this or any work around.
The text was updated successfully, but these errors were encountered:
Is there a way to analyze the workflow beforehand to provide the user with a preview of what will happen at each step.
lets say I have a workflow which has 3 steps.
Step1 -> Select Users from database
Step2 -> Send email to selected users
Step3 -> Update users in database and update system admin.
I want to simulate each step and display a possible outcome of each step before the user actually starts the workflow.
So in my case based on different inputs in Step1 different group of users will be selected from Database. I want to display a list of users before executing the actual step.
This could be achieved if Input values are fetched from IStepParameter something like
but unable to get it to working. Is there any way to achieve this or any work around.
The text was updated successfully, but these errors were encountered: