Yes, but based off your usage you probably should be using the after registration trigger.So in my situation when I'm using the autoaction trigger 'onAfterUserApproval' the following fields are available for substitution without using getfields:
Your PHP is not valid. You need to escape your substitutions with quotes when in PHP. Example as follows.Here's what I just tried in my Auto Actions PHP code block. I'm using substitutions as you mentioned in your last post. The code follows and the error it generated is included as well. Any suggestions would be appreciated.
Your usage is not valid. You don't declare and set a variable when sending to a function like that. For example your usage should probably be as follows.While that got rid of the error, I still don't get a new user in the backend system. Shouldn't Auto Action be able to execute code like this?
CB Auto Actions or a custom plugin are the best ways to do this. A custom plugin would just be doing the same as CB Auto Actions and execute PHP on a trigger.Let me continue the topic this way. I'm setting up CBSubs and want to create subscription based user accounts in Vtiger. I've been trying to do this through AutoAction with little success, but I'm curious if there is a better way. Is there a better way to user accounts in Vtiger when CBSubs is being used? Has anybody done this before?
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.