Checking the User is from Admin or User interface

Hi All,

A workflow (say create user wf), which can be accessed from both Admin and User interface.

My requiremnt is, I need to develop a workflow, when this create user workflow will trigger, I need to determine whether this process has started from the Admin or User interface and also need to determine the User who has started this workflow.

Hope you guys understand my question.

has anybody done this before.

Any ideas please.

Thanks

[481 byte] By [dortmund_developer] at [2007-11-26 11:52:35]
# 1
Yes - this is perfectly possible and very simple.. although I do not know exactly from the top of my head.....A good place to start is the docs - the workfows & view pdf doc has this info..HTH
anokun7 at 2007-7-7 12:08:42 > top of Java-index,Web & Directory Servers,Directory Servers...
# 2
Thanks for the reply.I referred docs, but it's not mentioned anywhere.Infact I am trying with, getSession method and I am referring WF_SESSION_APPLICATION variable. but it is returning null.If you done this before, please give me any hint.Thanks
dortmund_developer at 2007-7-7 12:08:42 > top of Java-index,Web & Directory Servers,Directory Servers...
# 3

Here is a field in the Tabbed User Form that checks that login app is in the Admin interface.

<Field name='_FM_VIEW_SECURITY'>

<Display class='EditForm'>

<Property name='help' value='_FM_VIEW_SECURITY_DESCRIPTION'/>

</Display>

<Disable>

<neq>

<ref>loginApp</ref>

<s>Administrator Interface</s>

</neq>

</Disable>

<FieldRef name='ViewSecurityContent'>

<Property name='noHeader' value='true'/>

</FieldRef>

</Field>

MarkNienaber at 2007-7-7 12:08:42 > top of Java-index,Web & Directory Servers,Directory Servers...