cancel
Showing results for 
Search instead for 
Did you mean: 

Condition/Terminate Event Problem

Former Member
0 Kudos

Hi,

When I call a condition after take the Approval but it is taking default reject task even if i take Approved button,

Else

When i call a Terminate Event after take the Approval but it is taking default reject task even if i take Approved button,

What could be the problem here

Regards,

Peter Son

Accepted Solutions (0)

Answers (1)

Answers (1)

martin_nooteboom
Active Contributor
0 Kudos

Hi Peter,

According to your minimal information I think you made some errors in the configuration. Probably you don't have the correct value of the action taken.

Regards,

Martin

Former Member
0 Kudos

Hi,

Sorry i am not able to give points to you, disable in my screen SDN.Why id't know

I think you know my problem, i used program for this workflow those are working good. in this main workflow i need to after APPOVED and REJECTED seperately in different task. I am not able to do this, can you please help me on this.

Regards,

Peter Son

martin_nooteboom
Active Contributor
0 Kudos

Hi Peter,

What kind of task do you use for the approval? Is this an user decision? If so you can catch the button pressed easily. The number of the button pressed is in container element &_WI_RESULT& of the task. You can bind this to a container element in your workflow which you can use in your condition. The field is normally about 4 long preceding zero's.

Regards,

Martin

Message was edited by:

Martin Nooteboom

By the way, about the points, the point system is disconnected from the forums at the moment. It is under investigation.

Former Member
0 Kudos

Hi Martin,

In my Program i called Workflow for User Command When Save/Approved/Rejected three Workflow's separately called.Work's fine in all stages Initiator starts workflow by Save the screen, If approver press Approved button the 2nd Workflow will start, If Approver press Rejected button the 3rd Workflow will start.

All these 3 workflow's are not linked each other in one workflow. All 3 are in separate,

Everything goes well, only the mail send to the Initiator not happening its taking who has taken last action (Approved/Rejected) that manager is receiving mail instead of getting Initiator.

I have not used any step like Condition / Terminate Events in my workflows.

Regards,

Peter Son

former_member184112
Active Contributor
0 Kudos

Hi,

You should use any one of these in Main Workflow.

Thanks and Regards,

Prabhakar Dharmala

Message was edited by: Prabhakar Dharmala

I mean Condition or Terminate Event

What do you want exactly? Do you want pick the Initiator of Main workflow & send mail from remain sub workflows Am i right. If it is like this you need to use any of the Condition or Terminate Event

Prabhakar Dharmala

martin_nooteboom
Active Contributor
0 Kudos

Hi Peter,

When you start the Approved or Rejected workflow you need to give the initiator of the original workflow. You can set this user in the container when you start the workflow. You can set it in container element WfInitiator and use this to get the manager.

Regards,

Martin

Former Member
0 Kudos

Hi,

I have done as you said, but mail has gone to manager. I need to send mail to Initiator(original workflow initiator) from subworkflow. if i take wf_initiataor in subflow mail send to manager but not initiator.

Regards,

Peter Son

Former Member
0 Kudos

hi,

We should send mail of Original workflow Initiator from subworkflow. i already explained my requirement. how we will get the Original Initiator I don't understand using this Condition/terminate event can you explain

Regards,

Peter Son

martin_nooteboom
Active Contributor
0 Kudos

Hi Peter,

You need to take the WFInitiator from the workflow, not from the task, because this will be the user who executed the previous task. Maybe it is better to set the original initiator in a seperate container element.

Regards,

Martin

Former Member
0 Kudos

First step in the main Workflow you put a container operation step where you assign main Wflow Initiator in a Workflow container element. Now when U call the subworkflow you should bind this container element from Man Workflow to a Container element in sub Workflow. You can us the new container element in sub workflow which you have binded with Container element that contains value of Man Workflow Initiator.

You can also make use of Container elemernt &Workflow.Parent work item.Creator&.

Thanks

Arghadip