prasad - Saturday, May 26, 2012 6:15 AM:
Dear Experts,
I want to complete a workflow activity (which is active and showing in InBasket) using a C# method.
Is there any API in IOM.dll for it?
If I have to do it manually then what are the conditions does it need to be taken care of?
Please Help.
RobMcAveney - Saturday, May 26, 2012 11:27 AM:
See this thread: http://www.aras.comhttp://www.aras.com/Community/forums/p/1337/4070.aspx#4070
prasad - Thursday, June 7, 2012 2:03 AM:
I found a AML Query used by Aras to complete the workflow activity. It covers almost all the use case needed to be checked.
Also I am using applyAML() to execute it on server side.
Statements between '#' and '#' are comments.
<Item type="Activity" action="EvaluateActivity">
<Activity> #activity id to complete# </Activity>
<ActivityAssignment> #Activity Assignment ID(relationship)# </ActivityAssignment>
<Paths>
<Path id=" #ID of Workflow Process Path# "> #Name of the Vote# </Path>
</Paths>
<DelegateTo> #ID if identity (Leave Blank if do not want to delegate)# </DelegateTo>
<Tasks>
#If Tasks Present#
<Task id=' #ID of Activity Task#' completed='1'></Task>
# For Multiple tasks repeat the above tag with different ids#
#If There is no tasks for that activity then dont give inner tags for <Tasks>#
</Tasks>
<Variables>
#same as Tasks#
<Variable id=' # ID id Activity Variable#'></Variable>
</Variables>
<Authentication mode=' #Password/Esignature# '> #Encrypted Password using MD5 (Leave blank if authentication is none)# </Authentication>
<Comments> #Add comments here# </Comments>
<Complete>1</Complete>
</Item>
Cheers!
Prasad
vasant - Monday, May 28, 2012 12:36 AM:
Hi Prasad,
Please go through below link:
www.aras.comhttp:/.../programmatically-vote-for-a-workflow.aspx
Thanks,
Vasant