I'm trying to bring an Alteryx analytics app on our server into a panel in Salesforce so my reps don't need to bounce between multiple tools.
The challenge I'm having appears to be related to the user interface date tool. I'm either passing the parameter wrong or I need to maybe create an API version of the app that doesn't use it. Has anyone encountered this before? Also, is there a good resource describing the different parameter types for the API that would help me troubleshoot these things ongoing?
Error: 'The entered date () is invalid'
Approach:
- Step 1: Pass the workflow_id and parameters to v1/workflows/{workflow_id}/jobs/ to add the job to the queue
- This is where the error happens, details below
- Step 2: Check on completion after 10 seconds then every 10 seconds until it's complete using v1/jobs/{job_id}/
- Currently just using to retrieve error messages
- Step 3: Haven't started but believe the outputs will give me the id to use /v1/jobs/{id}/output/{outputId} to retrieve the file generated
Extra context.The app takes in a name, product list, start and end date. Using v3/workflows/{workflow_id}/questions I pulled in the question details for the parameter below
{'name': 'Start_Date',
'questionType': 'QuestionDate',
'description': 'Select Beginning of Period',
'value': None,
'multiple': False,
'items': []}I believe the format I should be passing for the parameter in the payload under questions is this format but I've tried a couple.
{
'Name': 'Start_Date',
'value': 'yyyy-mm-dd'
},