Formular una preguntaFormular una pregunta
 

RespondidaWorkflow Condition not working

  • martes, 24 de noviembre de 2009 20:24psubbura Medallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuario
     
    Hi all,

    I have my 'workflow 1' which assigns a form to user and it also adds a task to Tasks list in share point. My second workflow 'workflow 2' is started automatically whenever a new item is added to Tasks list. This workflow updates a column in the Tasks List. Now I would like 'workflow 2' to update List column only if the task item has been added by 'workflow1'. I tried adding conditions in 'workflow 2' to check fields in Tasks list.

    I set a condition to check if the workflow Name of the new item in Tasks equals 'workflow 1' and only then update List column. But it does not seem to work and the List column is updated for every new item added to Tasks even by other workflows. The condition does not seem to work here. Please let me know if I am missing something.

    Thanks

Respuestas

  • lunes, 30 de noviembre de 2009 16:25psubbura Medallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuario
     Respondida
    Hi Ginni,

    Thanks for the reply. I did the same comparison using Work flow Name field. There was one more workflow running on the same Tasks list library which was creating the issue. I disabled it and its working fine now.

    Thanks for your time.
    • Marcado como respuestapsubbura lunes, 30 de noviembre de 2009 16:26
    •  

Todas las respuestas

  • miércoles, 25 de noviembre de 2009 10:52Ginni Sharma Medallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuario
     
    Hi,

    I am assuming that you are using SharePoint Designer. What are you writing in the "Title" field when you are creating the task in workflow 1?

    In workflow 2, you can write like :

    If Title = (Title which you have given in workflow 1 while creating task)

    then Start the workflow

    Like this your workflow 2 will only start when it equals the title given in workflow 1.

    Hope this helps

    Regards
    Ginni
  • lunes, 30 de noviembre de 2009 16:25psubbura Medallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuario
     Respondida
    Hi Ginni,

    Thanks for the reply. I did the same comparison using Work flow Name field. There was one more workflow running on the same Tasks list library which was creating the issue. I disabled it and its working fine now.

    Thanks for your time.
    • Marcado como respuestapsubbura lunes, 30 de noviembre de 2009 16:26
    •