Skip to main content
1-Visitor
July 14, 2014
Question

RE: PTC Integrity - Change a workflow in depending of an attribute

  • July 14, 2014
  • 2 replies
  • 1160 views

Hello all,

is it possible to change the workflow of an item in Integrity in depending the attribute category.

For example:

Category: Heading; Workflow: Draft - Finished

Category: Functional requirement; Workflow: Draft - to Review - Finished - Revision - Deffered

Thanks

    2 replies

    16-Pearl
    July 15, 2014

    Hello Michaela,

    Using solely workflows, what you are asking is for is not possible.

    You could use rules based pre-event triggers to only allow Headings to go to Draft or Finished, while allowing a Functional Requirement to tranistion only through Draft to Review, Finished, Revision, or Deferred. Please see the section titled "Creating Workflow and Document Event Triggers" in the Server Administration Guide appropriate to your release of Integrity.

    Regards,
    Kael

    16-Pearl
    July 21, 2014

    You have to be careful with ALM documents (sounds like what you're doing), but I've done that quite a few times with type constraints and then there's no need for triggers.

    The constraints are pretty much what you described in your post if you use contraints of type "field relationship".

    The workflow has to be set up with all the possible paths, then you use the contraints to guide you through it. Try it!