Orchard Workflow Event

时间:2018-03-25 19:33:43

标签: c# orchardcms

I'am handling a custom workflow event :

_workflowManager.TriggerEvent("ProductAdded", null, () =>
    new Dictionary<string, object> {{"ProductName", model.Name}});

Now on my dashboard I'm trying to access the Name in a simple Notify Activity Product {ProductName} has been added successfuly !

for some reason i'm always getting Product has been added successfuly !

am i missing something ?

thanks in advance

1 个答案:

答案 0 :(得分:0)

正确的语法是

board