Jim Posted July 31, 2024 Posted July 31, 2024 When logging a service request via the api, how would I go about setting the input parameters? is it similar to the autotask api? looking at the documentation it doesn't seem to be an option Entity API / logServiceRequest (hornbill.com)
Joshua Howitt Posted August 1, 2024 Posted August 1, 2024 Hi @Jim, could you please confirm how you are trying to set the input? From the documentation showcasing code examples here, I can see those params can be added.
Jim Posted August 1, 2024 Author Posted August 1, 2024 Am I being blind, I can't see an input parameter called inputparams like the auto tasks do, which bit is it?
Steve Giller Posted August 13, 2024 Posted August 13, 2024 @Jim Raising a Request and spawning an AutoTask are not the same thing, the former is a lot more complicated. Both do involve a Workflow, however the Request also includes Capture Questions, Custom Field Mappings etc. The logServiceRequest API includes questionFieldMap and connectionMap, however these are not yet fully documented and are not really suited to an explanation via the Forums. Can you explain what you're trying to achieve with the "input parameters" that you want to include, as there may be a relatively straightforward way to achieve this.
Jim Posted August 13, 2024 Author Posted August 13, 2024 Hi @Steve Giller I think I ended up working around this in the end, Essentially if I set some parameters for a workflow I was curious of how I cold populate those parameters via the api when the workflow is invoked as these requests would all be logged via a script
Steve Giller Posted August 13, 2024 Posted August 13, 2024 @Jim Part of the issue in trying to work through this is that it feels like the terms Auto Task, Workflow, and Request are being used synonymously - they are three distinct things and one may or may not be linked to another, so working out the requirement and how to achieve it can be tricky.
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