The present invention generally relates to the field of workflows, and more particularly relates to managing workflow steps through a user interface.
Workflow is among the most highly investigated problems in distributed computing and many complete workflow systems exist. However, these workflow systems execute jobs in a homogeneous way. For example, BPEL4WS is a workflow specification for orchestrating Web Service invocations in order to realize a workflow. IBM's LoadLeveler is a high performance computing job scheduler that can orchestrate workflows running on clusters of machines connected by a network. Lotus Workflow is a system for orchestrating workflow where the jobs are performed by user applications on personal workstations and orchestrated via a document management system.
Although useful, these workflow systems are not without their deficiencies, drawbacks, and problems. For example, these workflow systems cannot orchestrate workflow where the job steps involved are high performance computing applications, web services, and user applications. In addition, advanced fields such as cancer research require workflows involving the participation of laboratory equipment.
Workflow systems sometimes provide user interfaces for user interaction with the workflow. However, these user interfaces are often difficult to use when trying to find compatible input and output parameters for workflow steps. For example, in a semantic data application, where a data object in the system might represent any number of different semantic data types, it is not always possible for a user to easily determine which parts of an application can provide and or accept the data objects when they are involved in a drag and drop operation. Current user interfaces utilizing drag and drop features, show a user which parts of the application can accept or provide a data object by changing the mouse icon when the a data object is dragged over different parts of the application. The drawback of this type of system, is that the user must first drag the data object to all possible parts of an application to determine which parts of the application are valid receptors of the drag and drop operation.
Therefore a need exists to overcome the problems with the prior art as discussed above.
Briefly, in accordance with the present invention, disclosed are a method, user interface, and computer readable medium for graphically representing compatible workflow components to a user. The method includes graphically displaying, in a graphical user interface, a plurality of steps in a workflow. A user's selection is received, wherein the selection is for at least one step in the plurality of steps. The user's selection denotes at least one selected step. At least a portion of the graphical user interface is dynamically populated for displaying a list with at least one workflow component that is compatible to accept an output from the selected step. The list can also display at least one workflow component that can provide an output to the selected step. The workflow component is selectable by the user so that it can be added to the workflow.
In another embodiment, a user interface for graphically representing compatible workflow components to a user is disclosed. The user interface includes at least one window for graphically displaying a plurality of steps in a workflow. At least a first visual indicator denotes a user's selection for at least one step in the plurality of steps. At least a first portion of the window comprises at least a workflow component list. The workflow component list is dynamically populated with at least one workflow component that is compatible to at least one of accepting an output from the selected step. The workflow component list can also be dynamically populated with at least one workflow component that can provide an output to the selected step. The workflow component is selectable by the user so that it can be added to the workflow.
In yet another embodiment, a computer readable medium for graphically representing compatible workflow components to a user is disclosed. The computer readable medium comprises instructions for graphically displaying, in a graphical user interface, a plurality of steps in a workflow. A user's selection is received, wherein the selection is for at least one step in the plurality of steps. The users selection denotes at least one selected step. At least a portion of the graphical user interface is dynamically populated for displaying a list with at least one workflow component that is compatible to accept an output from the selected step. The list can also display at least one workflow component that can provide an output to the selected step. The workflow component is selectable by the user so that it can be added to the workflow.
An advantage of the foregoing embodiment is that a user is able to use a workflow user interface to manage a workflow. When a workflow step is selected all of the compatible steps that can accept its output or provide an input are automatically displayed. Also, the user interface can be dynamically populated with a list of compatible workflow steps (or data values) that provide an input to the selected step, workflow steps that can accept the output from the selected step. A user does not have to drag a particular workflow step over the other steps to find out which steps can accept the output of the particular workflow step. The user interface provides a user with visual feedback or cues that help identify compatible inputs and outputs.
The accompanying figures where like reference numerals refer to identical or functionally similar elements throughout the separate views, and which together with the detailed description below are incorporated in and form part of the specification, serve to further illustrate various embodiments and to explain various principles and advantages all in accordance with the present invention.
As required, detailed embodiments of the present invention are disclosed herein; however, it is to be understood that the disclosed embodiments are merely exemplary of the invention, which can be embodied in various forms. Therefore, specific structural and functional details disclosed herein are not to be interpreted as limiting, but merely as a basis for the claims and as a representative basis for teaching one skilled in the art to variously employ the present invention in virtually any appropriately detailed structure. Further, the terms and phrases used herein are not intended to be limiting; but rather, to provide an understandable description of the invention.
The terms “a” or “an”, as used herein, are defined as one or more than one. The term plurality, as used herein, is defined as two or more than two. The term another, as used herein, is defined as at least a second or more. The terms including and/or having, as used herein, are defined as comprising (i.e., open language). The term coupled, as used herein, is defined as connected, although not necessarily directly, and not necessarily mechanically. The terms program, software application, and the like as used herein, are defined as a sequence of instructions designed for execution on a computer system. A program, computer program, or software application may include a subroutine, a function, a procedure, an object method, an object implementation, an executable application, an applet, a servlet, a source code, an object code, a shared library/dynamic load library and/or other sequence of instructions designed for execution on a computer system.
The present invention, according to an embodiment, overcomes problems with the prior art by orchestrating a workflow in a non-centralized fashion. In other words, a single program is not continually orchestrating the workflow. Another advantage of the present invention is that a system can orchestrate workflows involving diverse types of processes in a highly distributed environment. For example, job steps involving high processing computer applications, web services, user applications, and laboratory equipment are able to be integrated and execute a workflow.
Another advantage of the present invention is that a user is able to use a workflow user interface to manage a workflow. When a workflow step is selected all of the compatible steps that can accept its output or provide an input are automatically displayed. A user does not have to drag an input connector or an output connector over each step to find out which steps can accept the output. The user interface provides a user with visual feedback or cures that help identify compatible inputs and outputs. Additionally, the user interface can be dynamically updated to display a list of compatible workflow steps that can provide an input to a selected workflow step or accept an output of the selected workflow step. The use interface can also display a list a data values that can be used as an input for a selected workflow step.
Exemplary Workflow Management System
According to an embodiment of the present invention, as shown in
Participant C 106, in one embodiment, is a workstation comprising programs made available by the user of the workstation to be used as workflow steps. Participant D 108, for example, is laboratory equipment used for scientific workflows and interacts with the system 100 through an information processing system. Participant E 110, in one embodiment, is a web services invoker that is used to invoke web services on behalf of the users of the Participant E 110 information processing system. Each participant 102, 104, 106, 108, 110 communicates with the central storage system 112 through the network 114. The network 114, according to one embodiment, is a LAN, WAN, World Wide Web, wired, wireless network, or the like.
Each participant 102, 104, 106, 108, 110 includes a workflow analyzer 116, 118, 120, 122, 124, a workflow updater 126, 128, 130, 132, 134, and a workflow user interface 136, 138, 140, 142, 144, which will be discussed in greater detail below. The central storage system 112 includes a workflow database 146, a workflow information transceiver 148, and a workflow updater 150. In one embodiment, the central storage system 112 is a resource description framework (“RDF”) storage system. In another embodiment, the central storage system 112 is an extensible markup language (“XML”) storage system. The workflow database 146, for example, is a file such as a relational database or an object oriented database that backs the central storage system 112. The workflow database 146, in one embodiment, publishes updates associated with workflows in the database 146 using a high performance publish/subscribe system such as a Collections, ACLS, Replication, and Transaction system (“CART”). CART is an implementation of an RDF-based central storage system such as the central storage system 112. In a CART system each triple <subject><predicate><object> may be placed in zero or more collections for the purpose of identification and subscription in publication-subscription services.
An ACL is an access control list. Each triple or collection has an access control list that determines who can read/modify the triple. Client's of CART write their data first to a local memory or file store. The data may then be replicated to the central storage system 112, and new data is pulled down based on subscription. In one embodiment of the present invention, a client-pull rather than a server push is used to retrieve the data. In another embodiment of the present invention, both a client-pull and a server push are used to retrieve the data. Each time a client of CART submits data to the central storage system 112, the updates are processed as a transaction so that any conflicts with other users are resolved or errors are raised.
In one embodiment, the central storage system stores RDF. For example, the central storage system 112 stores OWL-S, which is a set of RDF ontologies created using the Ontology Web Language (“OWL”) that defines how workflows are embodied in RDF. For example, if a particular step of a workflow outputs an image, that step commits the image itself to a data storage system (not shown), and provides the RDF central storage system with a link or pointer to the actual data to be stored with the workflow image. These links or pointers, in one embodiment, are file paths in the case of a distributed file system or HTTP/FTP URL's when the data storage system (not shown) is a Web Server. In another embodiment, a life science identifier (“LSID”) is used. A LSID uniquely identifies and resolves pieces of data that are used or created in a workflow. LSIDs were initially developed for the Life Sciences community but can be easily applied in any data-needy domain. The data storage system (not shown) that assigns LSIDs to data (and in turn provides their resolution) is called a dynamic data repository (“DDR”).
The workflow transceiver 148 transmits and receives workflow information. For example, workflows and workflow updates that are transmitted by the participants 102, 104, 106, 108, 110 are received at the central storage system 112 by the workflow information transceiver 148. In one embodiment, the workflow information transceiver is a general purpose RDF storage service. The workflow information transceiver 148 also transmits notifications to the participants 102, 104, 106, 108, 110 when a workflow is updated. A workflow is updated, for example, when a step of the workflow is completed. The workflow updater 150 updates a workflow in the workflow database 146 based on information received by the workflow information transceiver 148. The workflow database 146 also includes at least one record 152 for each workflow managed by the workflow database 146. The workflow database record 152 will be discussed in greater detail below.
Exemplary Information Processing System
The main memory 206 comprises the workflow analyzer 116. The workflow analyzer 116 analyzes the workflow in the central storage system 112. For example, a participant subscribes to the central storage system 112. Each step in a workflow that is stored in the central storage system 112 identifies a particular location/participant where the step is to be executed. As a subscriber, the participant recognizes that it is a participant of a workflow and the workflow analyzer 116 analyzes the workflow to determine which steps of the workflow are currently executable at its location. The workflow analyzer 116 also analyzes a workflow after the Participant A 102 information processing system receives a notification from the central storage system 112 that the workflow has been updated.
The main memory 206 also includes the workflow updater 126. The workflow updater 126 transmits workflow update information to the central storage system 112. Workflow update information, in one embodiment, includes output data from a completed step; a notification that a particular step has been completed; and the like. The main memory also comprises a workflow user interface 136. The workflow user interface 136 allows a user at the Participant A 102 information processing system to interact with one or more subscribed to workflows. For example, the workflow user interface 136, in one embodiment, indicates visually, the inputs and outputs of the steps that may be wired together. In another embodiment, the user interface 136 can be dynamically updated to show a list of currently available workflow steps that can accept an output from a workflow step selected in the user interface 136. The user interface 136 can also be dynamically updated to display a list of currently available workflow steps or data values that can provide an input to the selected workflow step.
The Participant A 102 information processing system also includes a job scheduler (not shown) such as IBM's Load Leveler in the main memory 206. The job scheduler (not shown), among other things, allows multiple workflow steps to be performed on the Participant A 102 information processing system. In one embodiment, the main memory 206 also includes a workflow language interpreter (not shown) such as an OWL-S interpreter, a BPEL4WS interpreter, or the like. The workflow language interpreter (not shown) allows the workflow analyzer 136 to determine what workflow steps are next in the workflow. The workflow language interpreter (not shown) also allows the workflow analyzer 136 to determine if the steps of the workflow are bound to the current location and if they can be executed under one or more identities of the Participant A 102.
The identity of a participant, in one embodiment, is the username under which a particular participant interacts with the central storage system 112, for example, CART. The identity of a participant is also used as the login in the embodiment where a DDR data store is performed. A workflow, in one embodiment, identifies the identity under which a step is executable. For example, a first user of the information processing system may make certain resources available for the workflow while a second user may not.
An application 220 such as an application needed for executing a workflow step is also included in the main memory 206. The application 220, for example, is running or waiting to be executed. Although illustrated as concurrently resident in the main memory 206, it is clear that respective components of the main memory 206 are not required to be completely resident in the main memory 206 at all times or even at the same time. In one embodiment, the server1106 utilizes conventional virtual addressing mechanisms to allow programs to behave as if they have access to a large, single storage entity, referred to herein as a computer system memory, instead of access to multiple, smaller storage entities such as the main memory 206 and data storage device 216, Note that the term “computer system memory” is used herein to generically refer to the entire virtual memory of the Participant A 102 information processing system.
Although only one CPU 204 is illustrated for computer 202, computer systems with multiple CPUs can be used equally effectively. Embodiments of the present invention further incorporate interfaces that each includes separate, fully programmed microprocessors that are used to off-load processing from the CPU 204. Terminal interface 210 is used to directly connect one or more terminals 222 to computer 202 to provide a user interface to the server1106. These terminals 222, which are able to be non-intelligent or fully programmable workstations, are used to allow system administrators and users to communicate with the Participant A 102 information processing system. The terminal 222 is also able to consist of user interface and peripheral devices that are connected to computer 202 and controlled by terminal interface hardware included in the terminal I/F 210 that includes video adapters and interfaces for keyboards, pointing devices, and the like.
An operating system (not shown) included in the main memory is a suitable multitasking operating system such as the Linux, UNIX, Windows XP, and Windows Server 2003 operating system. Embodiments of the present invention are able to use any other suitable operating system. Some embodiments of the present invention utilize architectures, such as an object oriented framework mechanism, that allows instructions of the components of operating system (not shown) to be executed on any processor located within the server1106.
The network adapter hardware 212 is used to provide an interface to the network 114. Embodiments of the present invention are able to be adapted to work with any data communications connections including present day analog and/or digital techniques or via a future networking mechanism.
Although the exemplary embodiments of the present invention are described in the context of a fully functional computer system, those skilled in the art will appreciate that embodiments are capable of being distributed as a program product via floppy disk, e.g. floppy disk 218, CD ROM, or other form of recordable media, or via any type of electronic transmission mechanism.
Exemplary Annotated Listing of Resource Description Framework Triples
Exemplary Workflow User Interface
The workflow user interface 136 includes a window 402 for displaying various components of the interface 136. For example, the steps 404, 406, 408, 410 of a selected workflow are graphically displayed in the window 402.
The workflow user interface 136 allows a user to select one or more of the graphically represented steps 404, 406, 408, 410. When a user selects a step 404, 406, 408, 410, the appearance of the selected step is visually altered. For example, Step A 404 is selected in
After a user has selected a step, each step in the workflow that can accept the output of the selected step is also visually identified to the user. For example, in
The strength of the compatibility, in one embodiment, is a function of analyzing the outputs and inputs of the steps as well as other metadata in the workflow system. For example, connection precedence, metadata between workflow steps such as organization, author, licenses, and the like are analyzed to determine the strength of compatibility. In an alternative embodiment, the box representing Step C 408 is resized, shaded, changed to a new graphic, or the like to visually indicate to a user that the step can accept the output of Step A 408. In another embodiment, the strength of the compatibility is based on a number of connection matches. For example, the percentage of inputs/outputs that are themselves compatible. In another embodiment, the strength of the compatibility is also based on the number of previous times these workflow steps have been wired together. This data, for example, can be queried in the central storage system 112.
In an alternative embodiment, a user drags a pointer (not shown) over the graphic representing a step or an output box 420, 422, 424, 426 of a step 404, 406, 408, 410. The steps that can accept the output of the currently pointed to step are visually altered. For example, the graphic representing a step that can accept the output is resized, shaded, changed to a new graphic, or the like to visually indicate the ability to accept the output. In another embodiment, as the user drags the pointer (not shown) over an output box of a step, the type output generated by the step and/or a description of the output is displayed to the user.
A user can select any of the available workflow steps in the window (e.g., palette) 604 and add the steps to the workflow workspace 606. The same workflow steps can be added to the workflow workspace 606 more than once. In one embodiment a user selects a workflow step for identifying which of the non-selected workflow steps can provide an input to the selected step. For example, the user selects the graphic representing Step B 406, which is then highlighted by a box 602 as described above with reference to
In one embodiment, the palette 604 includes a list 608 workflow steps that are currently available to add to the workflow workspace 606. For example, workflow step A 404 through workflow step N 410 is included in the list 608. A user can select a widget in the list 608 corresponding to a workflow step, which is then added to the workflow workspace 606. Alternatively, the user can drag the widget over to the workflow workspace 608 causing the workflow step to be added to the workflow workspace 606.
The workflow steps, in one embodiment, are part of another application residing on the information processing system being used by the user or communicatively coupled to the user information processing system through a network. For example, the user interface 136 can show the workflow steps from a life sciences application for accepting images from a microscope residing on the user information processing system. In one embodiment, all currently opened workflow steps in an application are searched for and displayed to the user through the user interface 136.
In one embodiment, the palette 604 is dynamic so that as more workflow steps become available, the palette 604 is dynamically updated to show these new workflow steps. In another embodiment, as shown in
In another embodiment, as shown in
In one embodiment, the palette 604 is dynamically updated to display these workflow steps in addition to workflow steps in the workflow workspace 606 being visually altered to indicate compatibility with the selected workflow step. In other words, as more workflow steps that are compatible with the selected workflow step become available, the palette 604 is dynamically updated to display these new workflow steps. In an alternative embodiment, if the non-selected workflow steps in the workflow workspace 606 cannot accept the output of the selected workflow step (or cannot provide an input), the palette is dynamically updated to display additional compatible workflow steps. The workflow steps 704, 706 in the palette 604 can be selected and added to the workflow workspace 606 as described above.
It should be noted that the palette 604 can display more than one item type at a time. For example, the palette 604 can display, any combination of item types such as workflow steps that can provide an input to a selected workflow step, data values that be used as input, and workflow steps that can accept the output of a selected workflow step. Also, in one embodiment, the dynamic updating includes querying a global database such as the central storage system 112. This database is queried to determine if any other workflow steps exist that can provide an input to the selected workflow step or accept the output of the selected step as an input. The database, in one embodiment, is an RDF store and the palette can be dynamically populated using a collection of RDQL or SPARQL queries. In one example, one such query determines which potential workflow steps in the database have an input or output that is compatible with the output or input of the selected workflow step.
Exemplary Workflow Input/Output Flow Diagram
Output 1010, for example, is an intermediary value that is stored for verification or later use. For example, a user may retrieve the output 1010 and verify its value to ensure the workflow is executing properly. The second and third outputs 1012, 1014 of Step E 1002 are used as inputs for Step F 1004. Step F also has a predefined input 1016. Step F 1004 produces two outputs 1018, 1020. One output 1018 is used as an intermediary value and the other output is used as an input for another step. Step N 1006 includes two predefined inputs 1022, 1024 which result in one output 1026. The output 1026 of Step N 1006 in one embodiment is an intermediary value in this embodiment. If Step N 1006 is the final step in the workflow, the output 726 is the final result of the workflow.
Exemplary Process of Sending Participants of a Workflow Information Regarding the Workflow
A subscriber to the central storage system 112, at step 1108, is identified as a participant of a workflow and receives information about the workflow. For example, a participant subscribes to the central storage system 112. Each step in a workflow that is stored in the central storage system 112 identifies a particular location/participant where the step is to be executed. A participant is selected by a creator of a workflow step, in one embodiment, based on the ability to perform a step, location, and identity of the participant. After each participant executes a step of the workflow, the workflow information transceiver 148, at step 1110, receives workflow updates from each participant. For example, the update information, in one embodiment, includes completed status identifier, output values generated by completing the step, and the like. In another embodiment, workflow update information is received when a participant manipulates a workflow step. A participant, for example, can change the input parameters for the step.
The workflow updater 150, at step 1112, updates the workflow database 146 based on the received updates from the participants. The central storage system 112, at step 1114, determines if the workflow is completed. For example, when a participant completes a workflow step it queries the central storage system 112 to determine if the completed step was the last step of the workflow. If the participant determines that the workflow is completed, it transmits information to the central storage system 112 identifying the workflow as being completed. In other words, the participant flags the workflow as being completed. The central storage system receives this information from the participant and determines that the workflow is complete.
If the result of this determination is positive, the central storage system 112, at step 1116, notifies each participant that the workflow has been completed. The control then exits at step 1118. If the result of this determination is negative, the central storage system 112, at step 1120, notifies the participants that the workflow has been updated. The central storage system 112 continues to receive workflow updates from the participants until the workflow has been completed. In an embodiment where the central storage system 112 is an RDF central storage system, the workflow retained in the central storage system 112 can be modified after it has been completed. For example, a human user can add additional RDF statements commenting on the success of the workflow. The participants of the work flow are then be notified of these changes
Exemplary Process of Managing a Workflow
If the result of this determination is negative, the participant, at step 1212, waits for another notification from the central storage system 112. If the result of this determination is positive the participant, at step 1214, executes the workflow step. For example, in an exemplary life sciences workflow, Participant D 108 is laboratory equipment such as a microscope that is coupled to an information processing system. The workflow step to be performed by Participant D 108 is to submit an image for processing. After a participant 102, 104, 106, 108, 110 executes one or more steps, the participant, at step 1216, transmits workflow update information to the central storage system 112. For example, Participant D transmits update information in using RDF language including a pointer to the image that is to be processed.
The participants 102, 104, 106, 108, 110, at step 1218, receive a notification from the central server 112 informing the participants 102, 104, 106, 108, 110 that the workflow has been updated. The participants 102, 104, 106, 108, 110, at step 1220 determine if the workflow has been completed based on the update information sent by the central storage system 112. If the result of this determination is positive, the control flow exits at step 1222. If the result of this determination is negative the control flows to step 1206 where the participants 102, 104, 106, 108, 110 download the workflow. For example, after the workflow is updated by the central server 112 to reflect the execution of a step by Participant D, the participants are notified and determine if any of the remaining steps of the workflow can be currently executed.
Participant A 102, in one embodiment, is a high performance computing environment and uses an algorithm submitted by, for example, Participant C 106 for processing the image submitted by Participant D 108. The processing of the image by Participant A 102 and the submission of an algorithm by Participant C 106, in one embodiment, are separate steps of the workflow. For example, Participant A 102 determines that it can process the image only if the algorithm has been submitted by Participant C 106. Participant A uses both the image and algorithm as its inputs. Participant E 110, in one embodiment, are web services such as services for life sciences data that can also be used by Participant A 102 for processing the image submitted by Participant D 108. After Participant A 102 processes the image and submits its update information to the central storage system 112, Participant B 104, for example, determines that it can perform the workflow step associated with it. For example, Participant B 104 is a personal computer that allows a human to verify the results of Participant A 102. Once the verification process is completed by Participant B 104, Participant B 104 submits its update information to the central storage system 112, which determines that the workflow is completed.
One advantage of the present invention is that a workflow can be orchestrated in a non-centralized fashion. In other words, a single program is not continually orchestrating the workflow. Another advantage of the present invention is that a system can orchestrate workflows involving diverse types of processes in a highly distributed environment. For example, job steps involving high processing computer applications, web services, user applications, and laboratory equipment are able to be integrated and execute a workflow.
Exemplary Process of Providing Workflow Management Through a Workflow User Interface
The output, at step 1308, of the selected step is analyzed to determine if it can be used as an input of at least one of the non-selected steps. If the result of this determination is negative, the user interface 136, at step 1310, displays a message to the user stating that the output of the selected workflow step cannot be used as an input of the non-selected steps. The control flow then exits at step 1312. If the result of this determination is positive, the non-selected workflow step, at step 1314, is graphically changed to indicate that it can accept the output of the selected step.
For example, in one embodiment, workflow steps are registered with the central storage system 112. This registration process tells the central storage system 112 the data types the workflow step provides and can accept. In one embodiment, when a user selects a workflow step through the user interface 136, a notification is sent to the central storage system 112. The central storage system notifies all the registered workflow steps that a selection of a certain data type has been made, and those workflow steps can visually change their user interface to show the user that they can either accept or not accept the selected data type. For example, the shape, icon, or picture representing the non-selected workflow step is changed, resized, shaded, or painted with a different color. The operational flow then exits at step 1316.
A compatibility strength, at step 1414, is determined from the comparisons of steps 1410 and 1412 between the output of the selected step and the input of the non-selected step. If the compatibility is determined to be high, at step 1416, a connection line 502 between the output of the selected workflow step and the input of the non-selected step, at step 1418, is changed to a first color representing high compatibility. If the compatibility is determined to be medium, at step 1420, the connection wire 502, at step 1422, is changed to a second color representing medium compatibility. If the compatibility is determined to not be high or medium, the compatibility is low and the connection line 502, at step 1424, is changed to a color representing a low compatibility. The control flow then exits at step 1426.
Exemplary Process of Providing a Graphic Representation of Available Inputs for a Workflow Step
The non-selected steps, at step 1508, are analyzed to determine whether the non-selected steps can provide an input to the selected step. If the result of this determination is positive, the non-selected step, at step 1510, is graphically changed to indicate that it can provide an input as discussed above with reference to
Exemplary Process of Dynamically Updating Available Inputs for a Workflow Step
The non-selected steps, at step 1608, are analyzed to determine whether the non-selected steps can provide an input to the selected step. If the result of this determination is positive, the non-selected step, at step 1610, is graphically changed to indicate that it can provide an input as discussed above with reference to
If the result of this determination is negative (e.g., no workflow steps exits that can provide an input to the selected workflow step), the user, at step 1616, that an input is not available for the selected workflow step. The control flow then exits at step 1618. If the result of this determination is positive, the palette, at step 1620, is dynamically updated to display a list of workflow steps (or data values) that can provide an input to the selected workflow step. The control flow then exits at step 1622.
Exemplary Process of Dynamically Updating Available Compatible Workflow Steps
The non-selected steps, at step 1708, are analyzed to determine whether the non-selected steps can accept the output of the selected step as an input. If the result of this determination is positive, the non-selected step, at step 1710, is graphically changed to indicate that it can provide an input as discussed above with reference to
If the result of this determination is negative (e.g., no workflow steps exits that can accept the output), the user, at step 1716, is notified that a workflow steps are not available that can accept the output. The control flow then exits at step 1718. If the result of this determination is positive, the palette, at step 1720, is dynamically updated to display a list of workflow steps that can accept the output of the selected workflow step. The control flow then exits at step 1622.
Non-Limiting Examples
The foregoing embodiments of the present invention are advantageous because they allow the orchestration a workflow in a non-centralized fashion. In other words, a single program is not continually orchestrating the workflow. Another advantage of the present invention is that a system can orchestrate workflows involving diverse types of processes in a highly distributed environment. For example, job steps involving high processing computer applications, web services, user applications, and laboratory equipment are able to be integrated and execute a workflow. The interaction of such different types of processes can be handled automatically by the workflow management system and special compatibility layers for the different types of processes are not needed.
Another advantage of the present invention is that a user is able to use a workflow user interface to manage a workflow. When a workflow step is selected all of the compatible steps that can accept its output or provide an input are automatically displayed. A user does not have to drag a workflow step over all the other workflow steps to find out which steps can accept the output of the selected step or provide an input to the selected step. The user interface provides a user with visual feedback or cues that help identify compatible inputs and outputs.
The present invention can be realized in hardware, software, or a combination of hardware and software. A system according to a preferred embodiment of the present invention can be realized in a centralized fashion in one computer system or in a distributed fashion where different elements are spread across several interconnected computer systems. Any kind of computer system—or other apparatus adapted for carrying out the methods described herein—is suited A typical combination of hardware and software could be a general purpose computer system with a computer program that, when being loaded and executed, controls the computer system such that it carries out the methods described herein.
Embodiments of the invention can be implemented as a program product for use with a computer system such as, for example, the computing environment shown in
In general, the routines executed to implement the embodiments of the present invention, whether implemented as part of an operating system or a specific application, component, program, module, object or sequence of instructions may be referred to herein as a “program.” The computer program typically is comprised of a multitude of instructions that will be translated by the native computer into a machine-readable format and hence executable instructions. Also, programs are comprised of variables and data structures that either reside locally to the program or are found in memory or on storage devices. In addition, various programs described herein may be identified based upon the application for which they are implemented in a specific embodiment of the invention. However, it should be appreciated that any particular program nomenclature that follows is used merely for convenience, and thus the invention should not be limited to use solely in any specific application identified and/or implied by such nomenclature.
It is also clear that given the typically endless number of manners in which computer programs may be organized into routines, procedures, methods, modules, objects, and the like, as well as the various manners in which program functionality may be allocated among various software layers that are resident within a typical computer (e.g., operating systems, libraries, API's, applications, applets, etc.) It should be appreciated that the invention is not limited to the specific organization and allocation or program functionality described herein.
Each computer system may include, inter alia, one or more computers and at least a computer readable medium allowing a computer to read data, instructions, messages or message packets, and other computer readable information from the computer readable medium. The computer readable medium may include non-volatile memory, such as ROM, Flash memory, Disk drive memory, CD-ROM, and other permanent storage. Additionally, a computer medium may include, for example, volatile storage such as RAM, buffers, cache memory, and network circuits. Furthermore, the computer readable medium may comprise computer readable information in a transitory state medium such as a network link and/or a network interface, including a wired network or a wireless network that allow a computer to read such computer readable information.
Although specific embodiments of the invention have been disclosed, those having ordinary skill in the art will understand that changes can be made to the specific embodiments without departing from the spirit and scope of the invention. The scope of the invention is not to be restricted, therefore, to the specific embodiments, and it is intended that the appended claims cover any and all such applications, modifications, and embodiments within the scope of the present invention.
This application is related to the inventors' applications “SYSTEM AND METHOD FOR MANAGING WORKFLOW EXECUTION IN A DISTRIBUTED SYSTEM,” Ser. No. 11/324,972, now ______, and “METHOD AND APPARATUS FOR GRAPHICALLY DISPLAYING COMPATIBLE WORKFLOW STEPS,” Ser. No. 11/324,964, now ______, which were filed on Jan. 3, 2006 and are commonly assigned herewith to International Business Machines Corporation. These related applications are incorporated herein by reference in their entirety.