[created_by] variable doesn't work in SMS Rules

Post Reply
User avatar
elviseras
Investor
Investor
Posts: 578
Joined: 08 Feb 2017, 03:16
Name: Elvix Sampedro
Location: Galicia - Spain
Company Name: novaTEK

[created_by] variable doesn't work in SMS Rules

Post by elviseras »

I'm not sure it's a bug or bad config error, but in the Telegram module --> Sending SMS Rules, [created_by] variable does not work. See attached images ...

Rules config:
Telegram_SMS_Rule_Config.png

Received message:
Telegram_Message_Sended.png

Any ideas?
User avatar
support
Site Admin
Posts: 6215
Joined: 19 Oct 2014, 18:22
Name: Sergey Kharchishin
Location: Russia, Evpatoriya

Re: [created_by] variable doesn't work in SMS Rules

Post by support »

Just did test on 2.4 and it works ok. Looks like I already fixed this issue.
User avatar
elviseras
Investor
Investor
Posts: 578
Joined: 08 Feb 2017, 03:16
Name: Elvix Sampedro
Location: Galicia - Spain
Company Name: novaTEK

Re: [created_by] variable doesn't work in SMS Rules

Post by elviseras »

Hi, I have been doing more tests, and I have seen that it works well only when the user that modifies record is the user that created the item. If it's not the one who created it, the error shows again.

Regardless of this, it may not be [created_by] the correct field we need. We need put in the Telegram message name of the user who made the modification in the record that causes the message .. Is this possible?

regards
User avatar
support
Site Admin
Posts: 6215
Joined: 19 Oct 2014, 18:22
Name: Sergey Kharchishin
Location: Russia, Evpatoriya

Re: [created_by] variable doesn't work in SMS Rules

Post by support »

Possible. Added in 2.4 where you can use [current_user_name] - it's means current logged user who did modification.
Attachments
screenshot-localhost-2018.11.25-15-20-31.png
Post Reply