Thanks for your reply. Yes there was a Navigation rule on my Xpage. I removed it an I noticed that now my Dialog with the form that holds the workflow does not close anymore when I use the workflow action. I have other buttons implemented that use for example
dsActivityForm.save();
var d:javax.faces.component.UIComponent = getComponent("dialogActivityForm");
d.hide("panelActivityView");
to close the dialog and refresh the component. Can I achieve this for the workflow action as well ?
Thanks !!!