Class WorkflowStepInput


  • public class WorkflowStepInput
    extends Object
     {
       "title": {
         "value": "{{user}} submitted an issue",
         "skip_variable_replacement": false,
         "variables": {
           "user": "David"
         }
       }
     }
     
    https://api.slack.com/reference/workflows/workflow_step#input
    • Constructor Detail

      • WorkflowStepInput

        public WorkflowStepInput()
    • Method Detail

      • getValue

        public Object getValue()
        This is the input value. You can use {{variables}} which are included in the view_submission payload from a configuration modal. These variables refer to input from earlier workflow steps.
      • getSkipVariableReplacement

        public Boolean getSkipVariableReplacement()
        Flag to specify if variables in value should be replaced. Default to true.
      • getVariables

        public Map<String,​Object> getVariables()
        A key-value map of variables to replace
      • setValue

        public void setValue​(Object value)
        This is the input value. You can use {{variables}} which are included in the view_submission payload from a configuration modal. These variables refer to input from earlier workflow steps.
      • setSkipVariableReplacement

        public void setSkipVariableReplacement​(Boolean skipVariableReplacement)
        Flag to specify if variables in value should be replaced. Default to true.
      • setVariables

        public void setVariables​(Map<String,​Object> variables)
        A key-value map of variables to replace
      • canEqual

        protected boolean canEqual​(Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object