Adding IPC Event to a process from a different Solution file

Last post 07-17-2008, 10:14 AM by PaulShrimpton. 2 replies.
Sort Posts: Previous Next
  •  07-17-2008, 8:12 AM 24926

    Adding IPC Event to a process from a different Solution file

    Simple question - can it be done?

    Scenario: I have a process managing Sales Contract processing. At a stage in the process, I need to kick off some offline billings processes (bill, credit, cancellation) based on values captured in a form and stored in SmartObjects. These Billings processes can also be started manually, and so they have been built in a separate Solution File to the Contracts Processes.

    When I add an IPC event, browsing for the child process only shows me the processes in the currently loaded solution file.

    How do I use the process object to call and start a process built and deployed as part of a separate Solution file?

     Thanks

    Paul

  •  07-17-2008, 9:11 AM 24928 in reply to 24926

    Re: Adding IPC Event to a process from a different Solution file

    Attachment: K2Ipc.JPG

    Paul, simple answer, As of now if you use IPC events ..you can only browse processes within your current project. You cannot browse a process in IPC which does not belong to current solution.

    Solution: though it is not perfect solution, I would create a empty process in my current solution. When i need to IPC a process which does not exist in my current project, i would use the datafield in process name ( in IPC Wizard). When next is pressed, k2 will ask for design time value for IPC, use the empty process (Or any process) here.

    When your process will run, populate the datafield with correct process (Project\processname). This way you can use any process as IPC even if that does not exist in your current solution.

     

     


  •  07-17-2008, 10:14 AM 24931 in reply to 24928

    Re: Adding IPC Event to a process from a different Solution file

    Thanks for that. I'll run it past my techie in the morning. One other option I thought of might be to handle this outside of K2 - the form we are using is an InfoPath one, and I am not sure if we can use code to kick off processes on submission of an infopath form based on values in the SmartObjects. I know it can be done from an aspx form, and as the form itself is pretty simple, I may use this as a fallback - re-writing the form as an aspx form, and adding the code to start the processes on form submission.

     I'll see what they recon in the morning!

     Thanks for the response, I can now keep to my customer's demanding schedule!

    Paul

View as RSS news feed in XML