Martyn Houghton Posted March 26, 2019 Share Posted March 26, 2019 I am looking to use the 'logRequestBPM' process to spawn BPM process on a number of imported requests (loaded via the Request Import tool) which did not get the BPM spawned due to the connection being lost to our instance. The text in the general description references the Service ID but the Input Parameters section references the 'defaultBpm' but optional. Therefore would I be correct in presuming if we make this call to the api passing only the 'h_pk_reference' the process would pick on the BPM from the Service/Catalog assigned to the request? If we wanted to be explicit and specify the 'defaultBpm', what id does this use? https://api.hornbill.com/apps/com.hornbill.servicemanager/Requests?op=logRequestBPM Cheers Martyn Link to comment Share on other sites More sharing options...
Victor Posted March 26, 2019 Share Posted March 26, 2019 @Martyn Houghton - if you only looking to spawn the process on a request, I suggest using this instead: https://api.hornbill.com/bpm/?op=processSpawn You need the BP name (which is the name stored in the DB, not the name you see in the UI in the process list) and the request reference. Application is "apps/com.hornbill.servicemanager" Link to comment Share on other sites More sharing options...
Victor Posted March 26, 2019 Share Posted March 26, 2019 However, you would need to specify the BP for each request you need the process spawned ... I think you have an ongoing support request with us, and the dev team is working to put together a tool that would spawn the missing process... I would say to ask us first if that's the case, saves you some trouble Link to comment Share on other sites More sharing options...
Martyn Houghton Posted March 26, 2019 Author Share Posted March 26, 2019 @Victor Thanks for the clarification. I have indeed had an update from Deen via the support call since posting the above, advising that dev are now looking at provide a tool to spawn the missing process. Cheers Martyn Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now