How to set the expiration policy of a task to bypass the 180 day setting
Workflow tasks are automatically withdrawn if they're still open after the number of days you see in the Open Tasks Withdrawn After Number of Days field. This field is now available on the Application Preferences page, and it's set to 180. You can't change this number, but you can set up expiration, escalation, and renewal policies that allow tasks to be open for longer, as outlined below.
If the expiration settings are set to Do Nothing, then the task is withdrawn after 180 days.
Below action plan is applicable for any task that is not a FYI task. In below example it was used