Failed running Flow Action from Data Source Import Set

Lucas Schir
Tera Expert

My Goal is to learn how can i use Import Sets to bring external data to servicenow, so all that I am describing below is running on my PDI. 

 

When I try to load data from my Data Source I get an erro stating that my action inputs where not informed, below the steps I followed.

 

Error Message:  com.glide.plan.runners.FlowObjectAPIException: The inputs provided to the action: Request Skills Action within application scope: x_445177_demo_app are incorrect, please refer to the definition

 

1. Created a MOCK Rest API to return a list of objects https://app.raw-labs.com/workspace/2383

2. Created an Oubound REST Message to get the data (works fine)

3. Created a Flow Action to execute the REST Step (works fine)

3. Created an Data Source (sys_data_source)

    Import set table name: My Custom Import set table

    Type: REST (IntegrationHub)

    Format: JSON

    Path for each row: /skills/skills

    Action: Request Skills Action (My Custom Action)

 

When I click on the UI Action "Test Load 20 Records" it does return:

 

Name: Import Processor

State: Cancelled

Completion code: Success (????)

Message: com.glide.plan.runners.FlowObjectAPIException: The inputs provided to the action: Request Skills Action within application scope: x_445177_demo_app are incorrect, please refer to the definition

 

  1. My action as not inputs to it
  2. Couldn`t find any place on the data source where I could configure the inputs
  3. I tried to enable "Support Pagination", same error came

My API returns:

 

 

{
  "skills": [
    {
      "id": 1,
      "skill": "skill 1"
    },
    {
      "id": 2,
      "skill": "skill 2"
    },
    {
      "id": 3,
      "skill": "skill 3"
    },
    {
      "id": 4,
      "skill": "skill 4"
    }
  ]
}

 

 

    

1 ACCEPTED SOLUTION

I did not solved on my research, but I learned that to be able to make a integration with REST (IntegrationHub) to work you need a IntegrationHub subscription and I think that was lacking on my setup.

View solution in original post

3 REPLIES 3

sach457
Tera Contributor

Hi Lucas,

 

Did you find the solution for this issue. I am facing exactly the same issue with REST data source .

I did not solved on my research, but I learned that to be able to make a integration with REST (IntegrationHub) to work you need a IntegrationHub subscription and I think that was lacking on my setup.

Sandeep1988
Tera Contributor

Did anyone find the solution for the issue