Change responsibility of recorded Forms Service Follow
This note applies to the EBS Forms service.
If you have a Forms service recorded under a specific Responsibility and need to change it to a different responsibility, follow the steps provided.
For example, you might have an Order Management module assigned to various organizations.
In this note, we explain how to set a specific responsibility for a service or apply the change to all services in the Service Manager.
When to change responsibility? (or add the recorded responsibility to the user)
When you run a service and you get the following popup message:
"PopupMessages": "Sorry, no valid responsibilities available;",
How to Check the Recorded Responsibility
- Open the Service Details for the service (applicable only to full Forms services).
- Expand the Scenario View accordion.
- Locate the
resp
value.
For example, in the scenario below, the recorded responsibility is: ONT/ORDER_MGMT_SUPER_USER
How to change responsibility of a specific service?
1. Dynamic approach
Use this option if the same service needs to be called with different responsibilities by various users.
When calling the service's API, add the following extra parameter to the REST/query string call:
{
//ALL OTHER parameters
"resp": "XXX/ORDER_MGMT_NEW_RESP"
}
2. Static approach
- Edit the service.
- Add a new input parameter.
- Set the name and label of the input field to "resp".
- Assign the desired responsibility as the default value.
- Save the service.
3. Static approach - Advanced Method: Replacing Responsibilities Directly in Files
This method is intended for advanced users only. It allows you to replace responsibilities for specific services or selected ones across the system.
The change is made directly in the orp
/orpx
files under the resp
property.
In the above files, the responsibility appear in TEXT.
Here's how to do it:
- Backup the entire ServiceManager.
- Backup the selected services.
- Unzip the services backup file.
- Replace the
resp
value with the new responsibility. - Zip the folder.
- Restore the updated folder to the ServiceManager.
Note: Perform these steps with caution and involve the support team.
Set Responsibility for ALL Services in the ServiceManager
This option will update the responsibility for all services in the ServiceManager to the new responsibility.
Use this option when all services share the same responsibility.
This might be the case if you set one form that all services work with.
Steps:
-
Go to Admin > System Properties.
-
Modify the following properties:
append.keys = icx_ticket,resp,config
append.fields = icx_ticket,resp,config
append.defaults = resp=XXX/ORDER_MGMT_NEW_RESP
Comments
0 comments
Please sign in to leave a comment.