cancel
Showing results for 
Search instead for 
Did you mean: 

SAP BPA Error while passing payload using postman - please help

vedika11
Explorer
0 Kudos
645

I have created a BPA  with 3 inputs

I am in the Editable version and tested the Automation, it was completed successfully, and after that released and  Deployed the Process, now what I wanted is, I want to pass the JSON payload using POSTMAN but that is creating error 

 

Error message: The activity 'automation_getCreatedJobStatus_1' cannot be started since the input is not correct: [[/INPUT_JOBS/TABLES/JOB_LIST/0/JobCount] The value must be of string type, but actual type is integer.],[[/INPUT_JOBS/TABLES/JOB_LIST/1/JobCount] The value must be of string type, but actual type is integer.],[[/INPUT_JOBS/TABLES/JOB_LIST/2/JobCount] The value must be of string type, but actual type is integer.],[[/INPUT_JOBS/TABLES/JOB_LIST/3/Job Count] The value must be of string type, but actual type is integer.]
Log ID:6888f174-b33b-4a02-b706-be6956b-us10

(screenshot attached below)

 

SAP Build Process Automation SAP Build SAP Business Workflow SAP Business Process Automation by Redwood@Ron_Hagan 

View Entire Topic
vedika11
Explorer
0 Kudos

Hi, @Dan_Wroblewski 

In response to the above statement, I have ensured that the data type is set to Integer. I will attach the screenshot below. Additionally, I have passed this payload  from Postman

 {
        "job input": [
                {
                    "JobCount": 8190900,
                    "JobName": "ERP Job 18-20240320-170100-1"
                },
                {
                    "JobCount": 8191000,
                    "JobName": "ERP Job 18-20240320-170100-2"
                },
                {
                    "JobCount": 8191200,
                    "JobName": "ERP Job 18-20240320-170100-3"
                },
                {
                    "JobCount": 8191300,
                    "JobName": "ERP Job 18-20240320-170100-4"
                }
]}
vedika11_0-1721285932587.png

 

           
arroyoweisson
Participant
0 Kudos
Hello,
Dan_Wroblewski
Developer Advocate
Developer Advocate
0 Kudos
@arroyoweisson Did you need something?