Forum Stats

  • 3,851,490 Users
  • 2,263,988 Discussions
  • 7,904,740 Comments

Discussions

My taskflow is not calling second time.

kainattu
kainattu Member Posts: 23
edited Sep 6, 2013 6:31AM in JDeveloper and ADF

Hi Expects ,

I have an issue in use case of employee registration.

I have a page called Main.jsf.

it has two tab. one tab will have button to navigate Registration. jsf., which have a Static region of User-regist-task-flow with train Activity

The taks flow activity.

1. mathodCall ( which will initiate to new record) defalt activity , which will create new record in view object

2. Basic info view ( basicInfo.jsff) user can enter their data.

3. Review Info view ( reviewInfo.jsff)

4. Commit (taksflwo return), when user click commit button then user should be created and it allow to create next user too. user is created but not allowing to create next user.

5. Cancel (taksflow return), when user click cancel button then main page should be display, it is also not working .

Advance thanks to your help.

Regards

Palanivel

Tagged:

Best Answer

  • kainattu
    kainattu Member Posts: 23
    Answer ✓

    I have done this with different way.

    I have used method call activity instead of Call back activity.

    1. when user click Rester button then flow will go to commit method call then case flow will go to create new method call activity. so user can do register more user keep on.

    When user Click Cancel button then case flow will go to rollback methed call activity and flow will go to parent activity , parent activity will have outcome as Main page .

    That's it.

    Thanks once again for response PNMK.

    Regards

    Palanivel

Answers

  • Nitish_Potti
    Nitish_Potti Member Posts: 281

    Hi,

    Do u have anything set on the Taskflow Reentry behaviour property?

    Thanks

  • kainattu
    kainattu Member Posts: 23

    Hi PNMK ,

    thanks for your respance

    I don't have any reentry behavior , it is as default. 

  • kainattu
    kainattu Member Posts: 23

    Could you please give me sample application.

  • Nitish_Potti
    Nitish_Potti Member Posts: 281

    Sample application for?

  • kainattu
    kainattu Member Posts: 23

    Sample application for the same scenario,  I have created the same scenario as pages instead of page fragment it is working. but not for page fragment, i traced using toggle point on all activity , my activities not going as what i expect.  if you have small sample application for this that would be great.

    Requirement is :

    1. One main page , which will have the button to call Rester.jsf

    2. Rgister.jsf page will have Static Region for Register-btn taskflow with train flow.

    3. Register task flow will have One and Two jsff file , with commit and rollback action , when user click Register button ( commit operation ) then page should allow register more user , if user click Cancel ( rollback action) then page should move to Main page .

    Regards

    Palanivel

  • kainattu
    kainattu Member Posts: 23
    Answer ✓

    I have done this with different way.

    I have used method call activity instead of Call back activity.

    1. when user click Rester button then flow will go to commit method call then case flow will go to create new method call activity. so user can do register more user keep on.

    When user Click Cancel button then case flow will go to rollback methed call activity and flow will go to parent activity , parent activity will have outcome as Main page .

    That's it.

    Thanks once again for response PNMK.

    Regards

    Palanivel

This discussion has been closed.