API Workflow error - Cannot read property

Recently I tried to build a timeout system using Scheduled API Workflow. It looks like API Workflow executes every step and condition properly except step “Log the user out” which is unfortunately the last one and the most important in this system. Here is the log with Workflow error:

Any suggestions?

Kind regards

I don’t think this is accomplishable. “Log the user out” is an action without parameters as it always refers to the currently logged in user, which you don’t have in an API Workflow.

The concept of the system that logged in user right after any page load schedules API Workflow to log him out. As the result scheduled Workflow contains Current User and indeed “Log the user out” should work without parameters by logging the Current User out, but it does not.

Posting to keep this topic alive as the issue is not solved.

This topic was automatically closed after 14 days. New replies are no longer allowed.