Hi. I have a `UserEventScript` that creates invoic...
# suitescript
e
Hi. I have a
UserEventScript
that creates invoices when an order is fulfilled. We can also make invoices by a renewal script or manually. I just created an new
UserEventScript
that triggers on invoice creation to add a payment link to the invoice. My problem is that that last script does not trigger when the invoice was made from the first
UserEventScript
. Is there anything I can do? Could it be that the invoice is not created in the scenario? But it is transformed from a salesorder?
By setting the deployment to “blank” event type, I see that the transition was actually
context.UserEventType.EDIT
e
e
But could one userevent create a record and the creation trigger a different userevent?
e
Nope, that's exactly what does not happen. Actions taken by a User Event or User Event Workflow do not trigger other User Events.
e
Ok, thanks