Allow Inserting approval delegation as an administration in SMAX

Idea ID 2754323

Allow Inserting approval delegation as an administration in SMAX

Is it possible to Insert a Approval delegation on behalf of another user(delegator):

The API calls for configuring delegation, the API shared works only is delegator is the same user. In case delegator is different than the API authenticating user (which is the requirement) getting the below error even with tenant admin role.

Error - “Current user has no permission to create delegation

Allow Approval Delegation to be performed by System Admin.

Tags (1)
10 Comments
Micro Focus Expert
Micro Focus Expert

Hello,

Could you please clarify what API are you referring to? There is no public API dedicated to delegation.

Best regards,

Brindusa

Micro Focus Expert
Micro Focus Expert

Hi,

Here the actual requirement is to allow system admin to insert Approval Delegation if the user is unable to perform the Approval Delegation.

In a customer environment, VIP users usually mails to SMAX administrators to put a delegation on their behalf. So either APi functionality or directly from Portal feature should be available with SMAX administration to perform the above mentioned requirement.

In the above posted Idea, we tried APi call to perform the same operation , but we got the error shared above.

 

Micro Focus Expert
Micro Focus Expert

Could you please clarify what API are you using? There is no dedicated supported API to add approvals, which means you are probably trying to use a private API you shouldn't use.

 

Micro Focus Expert
Micro Focus Expert

URL:

rest/{TENANTID}/ess/delegation

Method:

POST

Payload:

{

               "delegator": "10017",

               "delegate": "10016",

               "delegationStartTime": 1575648000000,

               "delegationEndTime": 1575820799999

}

Please suggest

Micro Focus Expert
Micro Focus Expert

Hello,

You should not use this API, it is not a public API, it is used internally by SMAX itself but it is not for public consumption. Only officially documented APIs available in the main documentation should be used.

The delegation information is stored in the Task delegation configuration (key TaskDelegationConf) record type. You can use the EMS API.

Best regards,

Brindusa

Micro Focus Expert
Micro Focus Expert

Hi,

Thanks for sharing these details. Please share API details for Task delegation configuration (key TaskDelegationConf) record type, as I'm unable to find teh same in documentation.

Thanks

Micro Focus Expert
Micro Focus Expert

It is not a dedicated API for task delegation, it is the EMS bulk create/update API:

https://docs.microfocus.com/itom/SMAX:2019.11/BulkUpdate

Micro Focus Expert
Micro Focus Expert

Hello,

Please share the json payload details using a EMS bulk create API for Task delegation.

Thanks

Micro Focus Expert
Micro Focus Expert

Hello,

The API is documented (see link provided). You can as well see examples in the Configuration Guide:

https://docs.microfocus.com/itom/SMAX:2019.11/PractitionersNotes/SMAX_Config/cg_ems_rest_api

There is as well a Practitioner Forum session from Feb 28, 2018:

https://community.microfocus.com/t5/SMAX-Learn/Live-Meetings-for-SMAX-Software-Community-Technical/ta-p/1616351

 

The names of the fields to use to build the payload are available in the Studio.

 

Best regards,

Brindusa

Micro Focus Frequent Contributor
Micro Focus Frequent Contributor
Status changed to: Waiting for Votes

Thank you for sharing your idea! It’s open for comments and kudos, and we’re looking forward to input from the community. Once there is enough community traction, it will be further reviewed by the product team.

The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.