I have a task assigned to a Approver in SP 2013 workflow. I want to auto approve the task after a certain period of inactivity using the workflow. I am setting the below fields on the task item
Set Task Outcome to Approved Set Task Status to Completed Set % Complete to 1
But the workflow is throwing the following error, when I check the outcome return value
if outcome equals Approved
Input string was not in a correct format. at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
How can I auto approve a task?