Demand REST API bulk update capability

Hi,

I am currently using the Demand REST API, PUT request to update a Request that's linked to a PPM Project.

The PPM Project has PPM Requests linked that represent Agile Features.(Field Group: Agile Integratio Info) The PPM Feature are pushed to ALM Octane and has a linked Octane Feature.

Using the REST API to update the PPM Feature, the mapped fields between PPM and Octane will sync immediately. If I use the "ksc_run_command_in_other_requests" special command the immediate sync does not happen and the update is dependible on the  External Request Info Sync Service to update. The service does not update 50% of the requests due to the Octane Feature last update date that constantly change and by the time the service run, the Octane last update date is greater than the PPM Last Update date and Last Entity Update date.

I do experience slow response on a Project Save action of Workflow step action because of the sync that take little bit longer to provide a successful PUT REST Request response. The number of PPM Features per Project varies from 1 to 20 requests which needs to be updated.

Is there a REST API to do a bulk update of the requests because currently I have to loop through the list of Open Request types linked to the Project, update the indicidual Requst and wait for successful response before updating the next.

A bulk update might be ideal as long as the immidiate sync between PPM and the Agile Entity is still possible.

That might also improve the response time on the REST API which should improve the overall Saving process for the users.

Is that capability available in PPM 23.4?

Regards,

Alfred Puth

iOCO: Senior PPM Consultant

  • 0  

    Hi Alfred,

    1) There's no REST API for bulk request update. 

    2) If the sync happens when saving the request or when updating it with REST API, but not when updating a field with ksc_run_command_in_other_requests, then it looks to me like a defect of ksc_run_command_in_other_requests. Please open a ticket with support to get this addressed.

  • 0 in reply to   

    Hi Etienne,

    Thanks will do.

    What will the impact be if I use the Request Type Webhook?

    I saw your reply on another discussion thread and I got an idea but not sure if that will work and the impact on the system.

    The idea is to create a custom JSP which does what the java classes currently does and I call this JSP from the request Webhook when a change occurs on the request type.

    Is that a option and then I don't call the java class from the request command which means the user will not have this wait period when the user saves the request.

    Regards,

    Alfred Puth

    iOCO: Senior PPM Consultant

  • 0   in reply to 

    This could work, but I'm not even sure that ksc_run_command_in_other_requests will trigger the update web hook if it doesn't trigger the agile sync... so you should first check if it works.