You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Filtering a table popluated with vb/extensions/process/ProcessDataProvider

edited Oct 6, 2018 3:32PM in Visual Builder 7 comments

Content

I have a few tables that I populate with Process and Task data from the PCS runtime.  My user account is set as process owner (so I should have access to everything) and I have the following JSON / HTML to show all processes, started by me, for a particular deployed instance.

 

    "processinstanceListProcessDataProvider": {
      "type": "vb/extensions/process/ProcessDataProvider",
      "defaultValue": {
        "objectType": "processInstance",
        "idAttribute": "id",
        "parameters": {
          "startUser": [
            "{{ $application.user.email }}"
          ],
          "deployedProcessId": [
            "oracleinternalpcs~PayrollProcess!211~Process"
          ],
          "state": [
            "{{ Assigned, Completed, Errored, Expired, Information Requested, Stale, Suspended,  Withdrawn, Canceled }}"
          ]
        }
      }
    },

 

It throws a javascript error sayuing expression is invalid but it shows me most of the processes.  However, in the table under "state" they say "OPEN", "ABORTED", "COMPLETED".  Can someone explain what the actual state values are, and how I am suppose to list them as an array?  When I use

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!