CA Service Management

Expand all | Collapse all

Catalog Form - Require attachment and by pass aprovation process when checkbox is marqued

  • 1.  Catalog Form - Require attachment and by pass aprovation process when checkbox is marqued

    Posted Jun 27, 2017 04:32 PM

    Hi community,

    I have configured policy aproval. Aproval is dome by user manager.

    I need to make a catalog form that require an attachent and by pass the aprovation when user check/mark a checkbox or could by some other form attribute.

     

    Any ideas how to do this?

     

    Regards,

    Pedro



  • 2.  Re: Catalog Form - Require attachment and by pass aprovation process when checkbox is marqued

    Broadcom Employee
    Posted Jun 28, 2017 03:36 AM

    Good Morning Pedro.
     
    Please check on the below that might help you further on this.
     
    As to be seen as an example:
    Offering         - "Employee Recognition"
    Form name        - "TestForm"
    Form field id    - "discount_code"
    Form field value - "TEST"
     
    Policy condition:
    $(anySoWith('status', lteq, 800) && _.service.code=='ER' && _.sog['Employee Recognition'].serviceoption[1].form['TestForm'].discount_code=='TEST')
    $(anySoWith('status', lteq, 800) && _.service.code=='ER' && _.sog['Employee Recognition'].serviceoption[1].form['TestForm'].discount_code!='TEST')
     
    As you can see, in one condition, it is testing whether the field value is set to the same as the value attribute
    (discount_code=='TEST') or if it's not the same (discount_code!='TEST').
     
    If the check box is ticked,     discount_code=='TEST' is true.
    If the check box is not ticked, discount_code!='TEST' is true.
     
    For a mandatory attachment, please check the according checkbox on the service option.
     
    Please try this on your system and let em know if it works.
     
    Thanks and kind regards, Louis van Amelsfort.