1 Reply Latest reply: Aug 21, 2012 6:03 AM by user1937458 RSS

    Need to get TaskInstance Names from a workflow

    user1937458
      I need to get the TaskInstance names from a workflow. The workflow is a scheduled task and I cannot figure out how to use "getObjectNames" without using a Form.

      Basically need to do the following in the workflow that is kicked off in scheduled tasks.
      <invoke name='getObjectNames' class='com.waveset.ui.FormUtil'>
        <ref>:display.session</ref>
        <s>TaskInstance</s>
        <map>
          <s>conditions</s>
          <list>
            <new class='com.waveset.object.AttributeCondition'>
            <s>name</s>
                          <s>contains</s>
                          <s>Request</s>
            </new>
            <new class='com.waveset.object.AttributeCondition'>
                          <s>state</s>
                          <s>notEquals</s>
                          <s>finished</s>
            </new>
          </list>
        </map>
      </invoke>
      Edited by: user1937458 on Aug 21, 2012 2:34 AM