Uploaded image for project: 'Serverless logic'
  1. Serverless logic
  2. SRVLOGIC-487

Querying workflows by variable content

XMLWordPrintable

    • Icon: Feature Feature
    • Resolution: Unresolved
    • Icon: Major Major
    • 1.36.0
    • 1.35.0
    • Persistence
    • None
    • False
    • None
    • False
    • Hide
      Users can now filter on ProcessInstances.variables
      See example
      ProcessInstances (where:{variables:{workflowdata:{language:{equal:Spanish}}}}) {
          variables,
          state,
          lastUpdate,
          nodes {
            name
          }
        }
      Show
      Users can now filter on ProcessInstances.variables See example ProcessInstances (where:{variables:{workflowdata:{language:{equal:Spanish}}}}) {     variables,     state,     lastUpdate,     nodes {       name     }   }

      Often users have to retrieve process instances using information within the process instances (aka workflow data).
      At the moment it's not possible to write a graphql query to retrieve workflow instances based on the workflow variable content.
       
       
      Typically, graphql can handle this kind of query in the following way:
       

      { ProcessInstances { id variables { workflowdata (variable: "value") } } }

       

              ftirados Francisco Javier Tirado Sarti
              dmarrazz@redhat.com Donato Marrazzo
              Gonzalo Muñoz Fernández Gonzalo Muñoz Fernández
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: