Self Service Exercise 2
Self Service Exercise 2: Disable a Button
Create Disable Property
note
Be sure that Admin Mode is activated by clicking the Lock Button in the Upper Right Hand Corner. It should be Green and Unlocked
- In Admin Mode, from the Self Service Tab, click the Green Create Button to create a new Button.
- In the Name textbox, enter Create Disable Rule Property.
- In the Documentation textbox, enter This Button will create the Disable Rule Property.
- Be sure that the Confirmation Message option is toggled to On (
Green
). - Under Events, click the Green Add Bar (+).
- From the Event Template Menu, select
$PROPERTY:ADD,<Property Name>,<value>
. - In the Property Name textbox, enter Disabled.
- In the Initial Value textbox, enter false.
- Click the OK Button.
- Next, toggle the
Submit Events as OCADM
option to On (Green
). - Click Save.
Create A Button to Set Disable Token to True
- From the Self Service Tab main screen, click the Green Create Button to create a new Button.
- In the Name textbox, enter Set Disable Rule Property True.
- In the Documentation textbox, enter This Button will set the Disable Rule Property to True.
- Be sure that the Confirmation Message option is toggled to On (
Green
). - Under Events, click the Green Add Bar (+).
- From the Event Template Menu, select
$PROPERTY:SET,<Property Name>,<value>
. - In the Property Name textbox, enter Disabled.
- In the Initial Value textbox, enter true.
- Click the OK Button.
- Next, toggle the
Submit Events as OCADM
option to On (Green
). - Click Save.
Reset Disable Token to False
- From the Self Service Tab main screen, click the Green Create Button to create a new Button.
- In the Name textbox, enter Reset Disable Rule Property False.
- In the Documentation textbox, enter This Button will reset the Disable Rule Property to False.
- Be sure that the Confirmation Message option is toggled to On (
Green
). - Under Events, click the Green Add Bar (+).
- From the Event Template Menu, select
$PROPERTY:SET,<Property Name>,<value>
. - In the Property Name textbox, enter Disabled.
- In the Initial Value textbox, enter false.
- Click the OK Button.
- Next, toggle the
Submit Events as OCADM
option to On (Green
). - Click Save.
Add Disable Rule to Test Button 1
- From the Self Service Tab main screen, click the Blue Edit Button on Test Button 1.
- Toggle the Disable Rule On (
Green
). - In the Disable Rule textbox, enter
[[Disabled]]
. - Click Save.
Test Buttons
note
Be sure that User Mode is activated by clicking the Lock Button in the Upper Right Hand Corner. It should be Grey and Locked
- In User Mode, from the Self Service Tab main screen, click the Create Disable Rule Property Button.
- From the Service Request page, Click the Submit Button to run the process. The Progress Bar will display. A successful run will be indicated with a Green Check Mark Icon.
- Click the OK Button to exit the Request Process.
- Next, from the Self Service Tab main screen, click the Set Disable Rule Property True Button.
- From the Service Request page, Click the Submit Button to run the process. The Progress Bar will display. A successful run will be indicated with a Green Check Mark Icon.
- Click the OK Button to exit the Request Process.
note
If both of the previous Service Requests were successful, Test Button 1 should now be visibly Greyed Out and Unavailable
- To reactivate Test Button 1, from the Self Service Tab main screen, click the Reset Disable Property False Button.
- From the Service Request page, Click the Submit Button to run the process. The Progress Bar will display. A successful run will be indicated with a Green Check Mark Icon.
- Click the OK Button to exit the Request Process.
note
Test Button 1 should now be Active and Available