Skip to main content
15-Moonstone
August 3, 2016
Question

Exploring ThingWorx for Completing Work Item tasks

  • August 3, 2016
  • 1 reply
  • 6540 views

I am exploring option to complete work item using a Java or Inforengine tasks. Thingworx has out of the box CompleteWorkItems service. It does not take Voting ( Approve / Reject) as an input parameter.  So I am wondering if anyone has explored completing the workitem with a Vote option in WIndchill.

Thanks for your help.

Preeti

1 reply

16-Pearl
August 8, 2016

Hi Preeti,

In Windchill there are few API's but unsupported to complete the task with voting:

wt.workflow.work.WorkflowHelper.service.workComplete

wt.workflow.engine.WfEventHelper.createVotingEvent

Regards,

Bhushan

15-Moonstone
August 8, 2016

thanks again Bhushan. I could complete the task using above workComplete method. The workflow moves forward to next activity depending on the routing choices.

I haven't got success yet for creating Voting event.

🙂

Preeti

15-Moonstone
August 8, 2016

This works Bhushan.

wt.workflow.engine.WfEventHelper.createVotingEvent