1 Reply Latest reply on Feb 9, 2012 2:34 AM by Andries Koorzen

    Web client cannot transition with task

    Andries Koorzen

      Hi all

       

      Does anyone have any experience in creating addins (or at least try to create) which work in conjunction with a Enterprise PDM web client?

       

      My understanding is that a web client may not (will not) trigger an addin that modifies a file, as this would cause the file to be versioned.

       

      My question then is, does anyone know how to trigger a task addin that DOES NOT modify a file (e.g an addin that prints the file)

      I went through all the trouble of coding an addin which would update a variable using external data, but now it has come to light that, even though the addin does not execute on the web client machine (in other words, it executes on some server somewhere), it is still not possible for the web client to trigger the addin.

       

      So to summarize

       

      Machine A (web client) advances file through the workflow

      Workflow should trigger addin

      Server executes addin.

       

      What is currently happening

       

      Machine A (web client) tries to advance file through the workflow

      Workflow should trigger addin

      EPDM says "No"

       

      Thank you in advance

        • Re: Web client cannot transition with task
          Andries Koorzen

          For anyone interested - I found the answer.

           

          It appears that when an EPDM client accesses the EPDM system and performs a transition, the client makes certain API calls that require it to launch a task.

           

          So it is not a purely SQL operation as I though originally

           

          Because the required libraries are not installed with the activeX control on the webclient, it is not possible to make these calls, which essentially makes it impossible for a webclient to activate a transition that fires a task addin.

           

          This makes sense because exposing this functionality to a webclient could have negative side effects for skilled hackers.

           

          **