Nintex Connect

The Official Community Site for Nintex Software Products, including Nintex Workflow 2007, 2010 and 2013; Nintex Workflow for Project Server 2010; Nintex Reporting 2008 and Nintex Analytics 2010; Nintex Forms 2010; Nintex Live and Nintex SmartLibrary.
Welcome to Nintex Connect Sign in | Join | Help
in Search

display alert message in NW and programmtiacally check on item which wf is running currently

Last post 08-23-2012, 10:57 AM by niravpatel. 4 replies.
Sort Posts: Previous Next
  •  08-17-2012, 4:25 PM 24554

    display alert message in NW and programmtiacally check on item which wf is running currently

    Actually i am new to NW development, i wanted to use Nintex SDK 2010, but i am not sure how start with , like by creating event receiver or feature, because i wanted to check on item, weather any workflow is running on it , in addition to this i also wanted to get variable (or approver ) of existing workflow, and also some cutomization like custom task form  , could you please advice me on that. 

     Any help would be appreciated.

     Thanks, 

    Filed under: ,
  •  08-20-2012, 3:30 PM 24567 in reply to 24554

    Re: display alert message in NW and programmtiacally check on item which wf is running currently

    Hi niravpatel,

    if you want to see if a workflow is running on an item, you're looking at calling SharePoint object model code.  This because Nintex Workflows compile to be SharePoint workflows and run in the SP workflow engine.

    If you want to get the approver of a task, you'd be better off querying the tasks list associated with that workflow.

  •  08-22-2012, 10:15 AM 24632 in reply to 24567

    Re: display alert message in NW and programmtiacally check on item which wf is running currently

    Thanks Vadim,

     But can you confirm , if i wanted to check some condition on workflow starting  then can i use WorkflowStarting event receiver for that, and one more question- if i wanted to show an alert message after checking condition on WorkflowStarting event, is there any way except writing into log history ?

     Nirav 

  •  08-22-2012, 1:34 PM 24639 in reply to 24632

    Re: display alert message in NW and programmtiacally check on item which wf is running currently

    Hi niravpatel,

    In NW2010, there is already the ability to have a workflow start on a particular condition.  When you go to design your Nintex Workflow, in the ribbon of the workflow designer page is a Workflow Settings button.  Click on that and you'll see the conditional start option.

    I'm not exactly sure what you're trying to do with the even receiver though.

    As workflows run on a server and not a client machine, there's really no way to get a popup message to appear.  So Logging to the workflow history would be the way to go.

  •  08-23-2012, 10:57 AM 24665 in reply to 24639

    Re: display alert message in NW and programmtiacally check on item which wf is running currently

    Thanks again,

     But i think the condition which are provided , i can't use it. 

     - We are starting our workflow manually, when we start our workflow , i will require to check the Initiator of the workflow belongs to valid group or not,(though i accomplished it by using web service) .

    In addition to this,  i also wanted to fetch variable of already running workflow on item.

    - In my case we have two workflows , Approver  and cancel.

    => in scenario , approver  wf is running on one item which has some approver stored in one variable,

    and on the same item i will also run cancel workflow(which will basically cancel approver wf) , so at that time i will require to fetch workflow instance of Approver and fetch that variable(which has some approver) , and wanted to send email says that the appover wf is cancelled.

    so, i m planning to develope the event receiver on Workflow Satrting event !!

     But i m nor sure how to implement it, Any help would be appreciated.

     Thanks. 

View as RSS news feed in XML
Powered by Community Server, by Telligent Systems