Anomalies triggering other workflows from main workflow custom steps

Hi,
I've built a workflow (monet-notification) that triggers 3 other workflow, each one is triggered in its own custom step and the Activity Feed resulting from the execution is a bit surprising to me.
After triggering the workflow monet-notification, on Novu Cloud connected by Local Studio tunnel to my local application that implements the Novu Framework, I see 4 items in the Activity Feed, see attached workflow_with_subworkflows_saas.png.
The first item reports the execution of workflow monet-notification and has 3 custom steps where the other workflows execution are triggered. The other 3 items report the execution of the workflows triggered by those custom steps, but instead of having the correct workflow names they are all named "Deleted Template".

The workflow does whts I expect and i receive the email from them, but "Deleted Template" seems odd and I wonder if I'm doing something wrong
this is the code for the first custom step, that triggers the worflow

await step.custom("trigger-workflow-monetMailClienteConValutazioneNegativa", async () => {
try {
console.log("trigger-workflow-monetMailClienteConValutazioneNegativa")
const triggerParams = {
to: {
subscriberId,
email,
},
payload: payload,
}
console.log(triggerParams: ${JSON.stringify(triggerParams)})
// console.log(JSON.stringify(subscriber));
// console.log(JSON.stringify({
// to: subscriberId,
// payload: payload,
// }));
await monetMailClienteConValutazioneNegativa.trigger(triggerParams);
return {
success: true,
error: null,
};
} catch (error) {
return {
success: false,
error: error,
};
}
});
workflow_with_subworkflows_saas.png
workflow_with_subworkflows_on_premise.png
Was this page helpful?