Skip to main content
1-Visitor
November 2, 2010
Question

Workflow Expression Help

  • November 2, 2010
  • 2 replies
  • 635 views

Similar to the timer in parallel with Assigned Activity posted a while back... except instead of a timer I would like a Synchroniztion Robot (or Expression Robot with appropriate code). Use case isProblem Reports with a "Parked" State in the Lifecycle.Routing to "Parked" creates an assingmentthat is held open for creation of aChange request or Rejection at some later date. I'm looking for the parallel robot to kill this assignemnt if the Parked Problem Report is added to a Change Request that then advances to"Implementation".

I'm probably missing something, but I don't see any WorkflowHelperMethods that look like they'll do the trick. Closest looks like Force PRs to Complete in the Change Order. I could use this in combination with a Synch on Resolved on the PR pbo, but it'sa bit late.

Any insights are appreciated!

2 replies

1-Visitor
November 2, 2010
This is where syncronization robot play in. PTC provides example code.

Let me know if that doesn't steer you in the needed direction.



Sent from my Verizon Wireless BlackBerry
10-Marble
November 2, 2010

Thinking out loud...

i'm assuming that your Problem Report Lifecycle should change states. I would think, putting some code in your change request workflow to change the state of the related Problem Reports. Then in your Problem Report workflow put a Synch Robot to listen to State Change of the PBO, if the state is equal to Implementation or whatever state you want the PR to go to then "Go" otherwise null and it continues to listen for state changes. Then you could route the "Go" to Terminate the open task.

In my head it works... 🙂