cancel
Showing results for 
Search instead for 
Did you mean: 

SAP Cloud Platform Workflow Service Task header

Muniyappan
Active Contributor
0 Kudos

Hi All,

Is there anyway to add http headers when calling rest services from workflow service call? I see this scp-workflow-service-task-headers thread for the same question.

Still the status remains same or anything new has beed added ?

https://help.sap.com/viewer/f85276c5069a429fa37d1cd352785c25/Cloud/en-US/a8a6267f537841fbb22c159ba2a...

I am calling googlesheet api from workflow with open connector to add new row after task has been approved. In order to call open connector url, i need to pass authorization header. Time being i am creating iflow in CPI to call open connector url and calling iflow from worklfow.

Regards,

Muni

View Entire Topic
0 Kudos

Hi Christian,

setting custom header parameters feature is still on the roadmap, currently planned for Q1 2021, however this timeline could change, based on current priorities.

You have another option to trigger iRPA APIs though - you can add the trigger token as part of the payload, when you trigger the API:

{

“irpaTriggerToken” : <your token>,

}

Hope this helps?

Best regards,

Krassimir

Sesh_Sreenivas
Product and Topic Expert
Product and Topic Expert
0 Kudos

A sample context could be something like this. Note the input and invocationContext properties. The input should match the iRPA bot's input (if any), and the invocation context is relevant when you want to pass the control back to workflow after the bot execution (achieved via intermediate message event in the workflow)

{
	"irpaTriggerToken": "kabiudqiweuyqwe9734",
	"invocationContext":{
		"key": "1000010",
		"workflowDefID": "capexapproval",
		"messageDefID": "imtermediatemessageevent1"
	},
	"input": {
		"requestID": "1000010",
		"Title": "Build mobile apps",
		"TotalCost": 10000,
		"Type": "Software",
		"Objective": "Buildling new mobile apps",
		"CAPEX": 10000,
		"OPEX": 2000,
		"ROI": 5,
		"IRR": 5,
		"Country": "Germany",
		"Currency": "EUR",
		"Division": "BPM"
	}
}
renandmc
Explorer
0 Kudos

https://help.sap.com/viewer/e157c391253b4ecd93647bf232d18a83/LATEST/en-US/bfefca76d3814fd4a571d6f610...

according to the documentation, in the properties of the service task there should be a tab header, but that tab does not appear, an image of the properties follows