I have implemented the button field on a content type and most of the actions happen except the refresh page. The debug shows:
#

* 0 ms "Users Clicks a Button" has been invoked.
* 7.551 ms Executing the rule "Auditor Accepts Assignment" on rule set "Users Clicks a Button"
* 7.8 ms Condition "Accept Visit Button is clicked" evaluated to TRUE.
* 7.943 ms Action execution: "Change workflow state of content to new state"
* 17.34 ms Action execution: "Populate Node that the button was on's field 'field_auditor_details'"
* 17.556 ms Action execution: "Save a content"
* 17.64 ms Saved variable Node that the button was on of type node.
* 119.605 ms Action execution: "Refresh page."
* 119.734 ms Evaluation of "Users Clicks a Button" has been finished.

But the page is not refreshed. There are no entries in dblog.

Regards
Phil

Comments

zeezhao’s picture

What I do to ensure a refresh is this is add a "Page redirect" action to: [node:site-url]/node/[node:nid]
instead of the refresh.

pbrough’s picture

Status: Active » Closed (fixed)

Thanks that seems to have done it. Seems strange to have a function in the system that does not work.

Phil

BassistJimmyJam’s picture

Component: Miscellaneous » Code
Assigned: Unassigned » BassistJimmyJam
Status: Closed (fixed) » Fixed

There is still an issue here with the Refresh rule. This has been fixed in beta 2 and you should be able to use this instead of using the "Page redirect" rule.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.