Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
No, you can't use $this directly. You need to access them as var1, var2, var3, etc.. $this->automessage_id is var2 so you can substitute its value in with [var2] or access it directly with $variables in a Code action when using PHP. Example as follows using the substitution.So if I understand you correctly: in the top of the auto actions code field I would insert:
if ($this->automessage_id != 105) exit;
To only send sms' when the mailer with id=105 is fired ?
Use [var1] to get the recipient user id. You can also set User to Manually and select Variable 1 for the User Variable parameter. Now you can use normal substitutions like [user_id], [username], etc.. to get that users information...and would I not still be able to use [user_id] in the code field to get the user id or should i use:$this->user_id
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.