How to make Workflow Triggers availalbe to Workflow Builder

emumpton's Avatar

emumpton

15 Feb, 2011 07:46 PM

Hi,

I would like to make all Workflow Triggers available to be selected in the Workflow Builder.
Our Cascade instance currently shows 11 WF Triggers under Workflow Trigger Management.
I located the class files in {installDIR}/webapps/ROOT/WEB-INF/classes/com/cms/workflow/function and determined which triggers were not already defined in our system.
I then "added" the remainder using an entry like: com.cms.workflow.function. (i.e."com.cms.workflow.function.DeleteParentFolderTrigger").
This appeared to work fine in the Manage Workflow Triggers and all the new items show in the Available Trigger list.
BUT in the Workflow Builder where you select a Trigger for the Action I get the long name (i.e."com.cms.workflow.function.DeleteParentFolderTrigger") and not a short common name like the original Triggers (i.e. "Email") as seen in the attached image.

So?
1) Did I define the new Triggers properly?
2) How do I add these so that the short/common names will be displayed?

Thanks for the advice.
-Eric

  1. 1 Posted by Joel on 15 Feb, 2011 08:10 PM

    Joel's Avatar

    Hi Eric,

    When you added these did you follow the instructions below?

    To add a workflow trigger:

    1) In the Administration area, select ‘Workflow Definitions’.
    2) Click ‘Manage Workflow Triggers’.
    3) All currently available triggers in the default database are shown, along with the ‘Add a Trigger’ field.
    4) Type in the name of the new trigger and click ‘Submit’.

    The new trigger will now appear on the list of available triggers and will be available for use within the Workflow Builder.

    If so, please take a screen shot of your "Manage Plugins" window where it shows the entire class names for each trigger. If otherwise, please let me know.

    Thanks!

  2. 2 Posted by emumpton on 15 Feb, 2011 08:40 PM

    emumpton's Avatar

    Hi Joel,

    Yes I did follow those instructions. On step #4 I was unsure of what the "name" was. I followed the format of the existing triggers ("com.cms.workflow.function.CopyFolder"). Any other "name" format that I tried gave an error ("An error occurred while discovering workflow trigger:"). I have attached the screen shot of the "Manage Workflow Triggers" (I am assuming that is what you meant). [available-triggers.png].

    -Eric

  3. 3 Posted by Joel on 16 Feb, 2011 03:12 PM

    Joel's Avatar

    Eric,

    We have identified this as a bug within Cascade Server. Please monitor CSI-142 for implementation progress.

    Thanks!

  4. Joel closed this discussion on 16 Feb, 2011 03:12 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac