Clarity

Expand all | Collapse all

Parent Object OBS Start Condition on a Process?

Jump to Best Answer
  • 1.  Parent Object OBS Start Condition on a Process?

    Posted 08-21-2014 04:22 PM

    Hi all.

      How does one set a Process Start Condition for an OBS on a linked Parent Object?

     

    Primary Object: Issue. Linked Object: Parent Project.

    objects.jpg

    The expression successfully validates and reads as expected:

    evaluates.jpg

    start.jpg

     

    I simply can't get it to work. Does someone have a better expression?

     

    Does this/should this work? Have others done this? This seems like a pretty logical need/use in an Enterprise system.



  • 2.  Re: Parent Object OBS Start Condition on a Process?

    Posted 08-21-2014 04:44 PM

    I don't think you should do the OBS check at the start condition, instead do that in the steps (moving from one step to another).

     

    In case you still want to persist with the OBS on start condition, try including another check and see

     

    NJ



  • 3.  Re: Parent Object OBS Start Condition on a Process?

    Posted 08-21-2014 05:19 PM

    Hi NJ. I can do it in a step, but I believe one should check for this in a start condition. Why kick off processed on objects that you don't want to run them on then 'code around' this in a post-condition? The proper architecture is to not start the process - this is what start conditions are designed to do & what i expect them to do.

     

    Project and Issue resolve as well - but neither of them work...

     

    (  obs("project",5004488,"osuwmc_executing_obs:/OSUWMC/Health System/Shared Services/Information Services","EQUALS","selected_unit_and_below", ctx, project) )

    (  obs("issue",5004488,"osuwmc_executing_obs:/OSUWMC/Health System/Shared Services/Information Services","EQUALS","selected_unit_and_below", ctx, project) )

    (  obs("issue._parent",5004488,"osuwmc_executing_obs:/OSUWMC/Health System/Shared Services/Information Services","EQUALS","selected_unit_and_below", ctx, project) )



  • 4.  Re: Parent Object OBS Start Condition on a Process?

    Posted 08-21-2014 05:25 PM

    hmmph.

      Testing shows that OBS works properly in a start condition on a Primary Object with a direct OBS association (example: Project).

      For a linked Object (such as Project on an Issue process), parent attributes work as expected in start conditions (Project(Issue Parent) as shown below), but not OBS (as shown above).

     

      Is my syntax above incorrect? Off to open a ticket...

    parent_attribute.jpg



  • 5.  Re: Parent Object OBS Start Condition on a Process?
    Best Answer

    Posted 09-11-2014 02:29 PM

    Hi all.

      Support says "Functioning as Designed". Please vote up Add Support for Parent Object OBS Start Conditions for Sub Objects Processes.

     

    Thanks!