when using the load a user account action there are two options for choosing the user. 1) you can pick a username from an autocomplete field, or 2) you can type in a static int for the uid. there appears to be neither support for writing a php snippet nor token replacement as there are for specifying things like this on most of the other actions.

is there any way to programmatically specify which user account you want to load?

i specifically need to load the user account for the author of a node that has already been loaded.

CommentFileSizeAuthor
#2 user_load_input_eval-371640.patch691 bytesderhasi

Comments

fago’s picture

Title: Action: Load a user account » Action: Load a user account misses input evaluation
Component: Rules Core » Rules Engine
Category: support » bug

Probably the action just misses the defined fields for input evaluation.

derhasi’s picture

Status: Active » Needs review
StatusFileSize
new691 bytes

This single simple patch might solve this issue (patched on current 6-1-dev).

Maybe there are a lot of other actions that might need input evaluator activated. Looks so for node load for example.

fago’s picture

Status: Needs review » Fixed

thanks, I also added the username. committed. Node-load should work, if not please file another patch.

Status: Fixed » Closed (fixed)

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