Flags - How to get the FolderId

Options

Hi,

We use Assure and would like to know how to get the FolderId of a process we raised via a ticket from the Service Center, I can see that they do somehow on the submit action but cannot seem to see how I can get that into a variable I need.

Any assistance on this would be fantastic.

Kind Regards,
Jacques

Tagged:

Comments

  • To get folder ID of current folder - ProcessContext.FolderId
    To get folder ID of caller folder - ProcessContext.FolderParent

  • Unfortunately when using Assure the FolderId that is retrieved via the flag raised from the Service Center returns the Web Service Coordinator (WSC) Processes FolderId, the process that the flag raises does not record the WSC's process' folderid as the parent.

    We did find a work around and that was to pass the efolderid of the WSC process as a flag parameter and then set it as the folderparent ourselves.

  • Don't forget that flags are a "void" type so they will not return a result. We have always supplied a unique parameter like "child ID" or some ID that identifies the caller. At that point you can always lookup the eFolderID in the process table at a later point.