Hi folks,
I had created a simple function to return back input but fails with below error, could you please look into and advise.
An error occurred while processing the action acknowledgement. Additional information: Post-processing script for Function 'test_func' from Workflow 'starter' was unable to complete because: Automatic proxy initialization should only occur on proxy classes.
@function("test_func")
def _test_func_function(self, event, *args, **kwargs):
"""Function: Name"""
try:
# Get the function parameters:
user_hello = kwargs.get("func_input")
# PUT YOUR FUNCTION IMPLEMENTATION CODE HERE
yield StatusMessage(user_hello)
results = {
"value": "Welcome",
"user": user_hello
}
logging.info(str(results))
yield StatusMessage("done...")
# Produce a FunctionResult with the results
yield FunctionResult(results)
***************** END ********************
POST Script
strtext= workflow.properties.results
incident.addNote(str(strtext))
------------------------------
Venkatesh
------------------------------