Clarity

  • 1.  Where to find parent Object Key for aprocess

    Posted Sep 15, 2016 09:23 AM

    I am trying to create a process which lock an attribute of the parent or grandparent object if the conditions are met.

    Where would I find the instruction for getting parent object key. Browsed the documentation and searched the community.

    Some indication is that the parent child link to be used in a process has be created in the GUI and the hierarchy of objects in the system is not used. The option being heavy gel.

    How to lock the attribute of parent/grandparent object with a process?

     



  • 2.  Re: Where to find parent Object Key for aprocess

    Posted Sep 15, 2016 09:45 AM

    Table: BPM_RUN_OBJECTS

    Field: OBJECT_TYPE_CODE

     

    Check the below:

    Query to show tasks where process is in error 

     

    NJ



  • 3.  Re: Where to find parent Object Key for aprocess

    Posted Sep 15, 2016 09:51 AM

    Yep. I'm thinking, 'object_type_code' from 'bpm_run_objects' would help in the below steps..

    What do you think?



  • 4.  Re: Where to find parent Object Key for aprocess

    Posted Sep 15, 2016 09:47 AM

    Hi,

     

    Do you think doing something like this would help?

    1. Create a process with the required start condition on your sub-object

    2. Query the 'odf_objects' table to get the 'parent_object_code'

    3. Depending on which parent object it is, trigger another Process (connected to the master object and with a system action), to lock an attribute on that object.



  • 5.  Re: Where to find parent Object Key for aprocess

    Posted Sep 15, 2016 09:51 AM


  • 6.  Re: Where to find parent Object Key for aprocess

    Posted Sep 15, 2016 09:54 AM


  • 7.  Re: Where to find parent Object Key for aprocess
    Best Answer

    Posted Sep 15, 2016 10:31 AM

    Thank you guys. My first preference would be to do it with one process in the GUI. Multiple process, other workarounds and gel come after that.

    Are you saying this is not the answer

    but I have to look to the database. Not very non-techie friendly.



  • 8.  Re: Where to find parent Object Key for aprocess

    Posted Sep 21, 2016 02:10 PM

    That turned out to be the answer. Simple.