Hi,
I’m trying to implement Form widget for a Class, so I can launch processes right from the Card. I know this feature was available in 2.x version, but I can’t get this to work on 3.1.1.
According to “Workfow Manual” section “4.1. Widget list” there’s widget to execute workflow named “Widget_startWorkflow”.
It’s possible to select “Start workflow” in “Gui custom” field when editing Class “Properties” tab. I have supplied WorkflowCode=“ConfNet” as the parameter for the widget.
When editing card itself the button with desired label appear on a card, however when clicking it, blank window opens, when I close it, I can see modal window “Process non found” error message. Nothing shows up in the logs to help with troubleshooting.
I’m not a Java guy, but from the source code it seems this part has changed in 3.x and I can’t find any reference to the “WorkflowCode” or “startWorkflow” in 3.x branch (was present in the 2.5 as part of StartWorkflowWidgetFactory). According to WidgetConst.java, there’s no definition for “startWorkflow” widget type:
WIDGET_TYPE_CREATE_MODIFY_CARD = “createModifyCard”,
WIDGET_TYPE_CALENDAR = “calendar”,
WIDGET_TYPE_MANAGE_EMAIL = “manageEmail”,
WIDGET_TYPE_LINK_CARDS = “linkCards”,
WIDGET_TYPE_CUSTOM_FORM = “customForm”,
WIDGET_TYPE_OPEN_ATTACHMENT = “openAttachment”,
WIDGET_TYPE_CREATE_REPORT = “createReport”;
Please advise how this should be done correctly in 3.x?
Thank you!