ArcGIS Pro 3.7 API Reference Guide
ArcGIS.Desktop.Workflow.Client.Models.Messages Namespace / QuestionStepInfoResponseMessage Class
Members Example

In This Topic
    QuestionStepInfoResponseMessage Class
    In This Topic
    The question step response message
    Syntax
    Public Class QuestionStepInfoResponseMessage 
       Inherits StepInfoResponseMessage
    public class QuestionStepInfoResponseMessage : StepInfoResponseMessage 
    Example
    Send a response to Workflow Manager Server pertaining to a job's current step
    {
      // Send a step response to Workflow Manager Server with additional information required for the step to continue.
      // In this example, provide an answer response to a QuestionStepInfoRequiredMessage so that the Question step can complete.
      // The response must include the jobId, stepId, and other information pertinent to the step.
      var stepInfoResponseMessage = new QuestionStepInfoResponseMessage()
      {
        JobId = jobId,
        StepId = stepId,
        QuestionResponse = 1,
        Comment = "Selected question response option 1"
      };
      var stepResponse = new StepResponse()
      {
        Message = stepInfoResponseMessage
      };
    
      var notifManager = WorkflowClientModule.NotificationManager;
      notifManager.SendStepResponse(stepResponse);
    }
    Inheritance Hierarchy

    System.Object
       ArcGIS.Desktop.Workflow.Client.Models.Messages.StepInfoResponseMessage
          ArcGIS.Desktop.Workflow.Client.Models.Messages.QuestionStepInfoResponseMessage

    Requirements

    Target Platforms: Windows 11 Home, Pro, Enterprise (64 bit)

    ArcGIS Pro version: 3.6 or higher.
    See Also