Trigger setting new assets to live not working


(Jessica Powell) #1

Hi,

 

I have created an alert, where members of the public can subscribe to receive the alert once it has been published.

 

When someone subscribes, they receive an email to confirm their subscription. A bulkmail user is created from this under the User Group that is used to send the alerts.

 

The bulkmail user under the User Group is Under Construction, so cannot receive the alerts until I make them live.

 

I created a trigger - when an asset is created under the user group set the status to Live. But this isn't working and I'm not sure what else to do.

 

Can someone help?


(Nic Hubbard) #2

Is your Trigger Manager enabled? Does the user firing the trigger have permissions to change a status? If so, make sure to check "Ignore Permissions" on the Trigger Action.


(Bart Banda) #3

From memory, your bulkmail users don't actually have to be live in order to get emails from the bulkmail asset send out, so maybe the same thing goes for triggers that send emails to them. Have you tried running the send email trigger on a bulkmail user that is under construction? 

 

Also, for your set to live trigger, are you using after asset built or asset created trigger event?


(Joel Porgand) #4

 

I created a trigger - when an asset is created under the user group set the status to Live. But this isn't working and I'm not sure what else to do.

 

 

 

Check your system log. Provided you don't have trigger events blacklisted it should show there if it's firing at all. If it is firing, then your actions are cocked up. If it's not firing then the triggering event or conditions aren't set up right. You should be able to use a process of elimination to figure out what's wrong. 


(Jessica Powell) #5

Ok, I have checked my system log and the trigger doesn't seem to be firing.

 

I have the below events:

  • Asset Accessed
  • Asset Attributes Changed
			<ul><li>Asset Created</li>
			<li>Asset Lookups Updated</li>
			<li>Asset Updated</li>
			</ul>
	<p>&#160;<p>The Tree location as the parent folder and the asset type is listed as bulkmail_user and the set asset status to Live and Ignore Permissions.<p>&#160;<p>the trigger is set to Enabled, so unsure why it wouldn't be firing. and for the subsciber to receive the news item, they need to be set to live.<p>&#160;<p>Any suggestions?</p>

(Nic Hubbard) #6

Do other triggers on your site work? If not, make sure to check that the Trigger Manager is enabled, not just the trigger.


(Jessica Powell) #7

Yes, other triggers work, but this one does not.


(Bart Banda) #8

Have you got a tree location condition for where the bulkmail users get created? If so what root node is it set to? Make sure it is set to the root node the users get created into originally before they get linked to the relative user group used for bulkmail subscript


(Joel Porgand) #9

Have you got a tree location condition for where the bulkmail users get created? If so what root node is it set to? Make sure it is set to the root node the users get created into originally before they get linked to the relative user group used for bulkmail subscript

 

alternatively try using the "link created" event

 

if you do this though you will probably want to use the "has a child/parent" condition for your tree location and make sure you tick "match only the triggering link" 


(Jessica Powell) #10

Nope tried both options above and still not working. Looks like I will have to raise a ticket, as this one has me stumped.

 

Thanks all for your help.


(Tbaatar) #11

Have you tried trigger event: status changed?