Pull data from completed forms

Comments

1 comment

  • Avatar
    Loren Bratzler

    Phread,

    You should be able to get variable values from any process using the AgilePoint REST SERVICE activity.  Have a look at this documentation:

    https://documentation.agilepoint.com/8011/developer/restmethodGetCustomAttr.html

    It requires that you first do a query against the AgilePoint database to get the Work Object ID of the Process ID you want to pull data from.  Use a Query Record activity to get the data from your AgilePoint database with this query:

    SELECT WORK_OBJECT_ID
      FROM WF_PROC_INSTS
    WHERE PROC_INST_ID = '${/pd:AP/pd:formFields/pd:ProcessInstance}

    Once you have the Work Object ID, you can use a REST SERVICE activity in your process B to get specific field values from process A.  Below are screen-shots of a REST activity that I use to get a group name that is stored in another process:

    This particular REST call returns just a single attribute value but I believe there are other REST calls that can return multiple values.

    0
    Comment actions Permalink

Please sign in to leave a comment.