Active
Project:
Rules link event
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
29 Dec 2016 at 00:05 UTC
Updated:
22 Jan 2017 at 20:18 UTC
Jump to comment: Most recent
Comments
Comment #2
cimo75 commentedComment #3
deggertsen commentedThis seems like a feature request to me. I personally will not be doing anything to add this functionality, but if you would like to submit a patch I would be happy to review it and apply it if it looks good.
Thanks
Comment #4
cimo75 commentedHallo, I marked as a bug because I assumed that a variable and its token should be available across all the actions on the same rule and if it didn't then something was not right.
It is a pity because I think this would be a great feature, very useful, think about loading an entity by the argument as a pretty basic functionality.
Thanks
Simone
Comment #5
david.qdoscc commentedHere's a quick workaround...
1. Add action 'Add a variable'. Type: Text. Value: [path:last].
2. Add action 'Convert data type'. Target type: Integer. Value to convert: variable-added.
3. Add action 'Fetch entity by id'. Identifier: [conversion-result].