Skip to main content
Nintex Community Menu Bar

Scripts for custom notifications?

  • November 27, 2008
  • 5 replies
  • 14 views

Forum|alt.badge.img+4

I need to write several custom notifications as part of my project requirement.


I want to execute a script instead of creating a new event for each custom notification.


Kindly let me know if this is possible? 


Awaiting your early reply.


Thanks in advance. 


 


 

5 replies

Forum|alt.badge.img+9
  • Nintex Partner
  • December 3, 2008
Hmm wouldn't it be similar to executing a cscript command from a command shell process in code?  I would think it would be possible as long as the service account had sufficient permissions.

Forum|alt.badge.img+4
  • December 5, 2008

Hi,


Can any one tell me how to write scripts for creating custom notification events in k2 blackpearl?


Regards,


Nithya


Forum|alt.badge.img+9
  • Nintex Partner
  • December 5, 2008

I have not tried the specific scenario of executing scripts from within custom notifications, but I think you can probably do the following:


1. Write a custom notification as described here (http://k2underground.com/blogs/fromthebench/archive/2008/02/13/custom-notifications.aspx).


2. Implement the cscript functinoality within the DLL you created (step 1).  This url appears to have some decent info on interact with cscripts from C# code (http://www.vsj.co.uk/dotnet/display.asp?id=417)


Forum|alt.badge.img+4

Hi,


Can you give me some more explanation, if possible with a very small example.


Thanks in advance.


 


Forum|alt.badge.img+9
  • Nintex Partner
  • December 6, 2008

Have you looked at the document attached to the post http://k2underground.com/blogs/fromthebench/archive/2008/02/13/custom-notifications.aspx

This has a step-by-step on how to create a custom notifications.  You could leverage this and just swap the code in the public static method within the DLL to do something you need.