Automatic create folder

Hi, we are trying automatically create a eFolder, without the user needing to open a Metastorm Form.We have tried calling all the store procedures that we profiled during the opening and submission of the user form. We managed to automate the step from 'Blank Forms' to 'Stage_A', but following that 'Stage_A' we have a 'Conditional Action_1' that's is not evaluated automatically, this means that the eFolder stays in 'Stage_A' when it was supposed to go to the stage that follows 'Conditional Action_1', 'Stage_B'. Is there something more than needs to be done that's not at SQL level, or we do we need do to this a completely different way.

PS: I may have not been very clear, but ask away.

Thanks for reading,

RMiranda

Tagged:

Comments

  • It sounds like you are trying to initiate a process through the use of stored procedures. There are several ways of initiating a folder but you need to ensure that this is done under the control of the Metastorm Engine so you should use one of the supported methods for initiating a process.

     

    Probably the simplest way to initiate a folder from blank forms is by raising a flag. This can be done from another process or an external program. The other methods are more complex and it really depends what you are trying to achieve as to which may be most approporiate for your needs.

  • Hi, thanks for the reply.

     

    Yes i had a felling flags would do the trick, is just that we don't have any implemented, and can't find detailed info about them.

     

    But basically i'm trying to make my own Form, so i need something client-side, that i could pass some parameters that would go into efields, raise flag, and create the efolder.

  • I tested the 'eRaiseFlag.exe' in command prompt and it works fine, doing exactly what is excepted in the metastorm procedure. 
    But when i execute 'eRaiseFlag.exe' through vb.net (server code of the aspx). I got nothing, the command gets no error, but nothing happens in the metastorm procedure. 

    Any thought on why?

  • I assume that your code is being run on the server hosting the Metastorm Engine. If so you need to consider which user context your code is running under. If it is a web application hosted on IIS for instance check which user the app is running under. This user needs to be granted permissions under Component Services/COM+ Applications/Metastorm Process Engine/Roles/FlagRaiser/Users. Only these users have permission to raise a flag against the engine.

     

    Hope this helps.