Unable to run Cloud Functions Task - Application Integration

I have tried to test a basic example code for Cloud Functions Task for Application Integration as provided in the documentation.

But I fail with error 

Event param is {}
Task param is {}

RuntimeError: Can not find param with key EmployeeKey

here's the code in task.py

def run(event):
  value = event.get('EmployeeKey');
  newValue = event.set('EmployeeKey' , 'XYZ');
  return
 
 
- I have already set the application integration with cloud function invoker role.
- I have already created the variable name "EmployeeName" String and variable type: None
- I have added EmployeeKey and EmployeeName as task parameter for the CloudFunction
 
 
But it still fails . Can anyone suggest how can i remedy the situation.
Thank you.
 
 
 

 

0 1 41
1 REPLY 1

Can you share your project id and integration name to me here or via private message?