10 Steps For Scheduling With Appworx

Download as pdf or txt
Download as pdf or txt
You are on page 1of 30

10 Steps for

Scheduling with Appworx

Sam ay Pat t n ayak


Mah in d r a Sat yam

GE Internal
Steps to Schedule a Job in Appworx
1. Create an Application
2. Create a Library
3. Create a Job
4. Add Notification (if required)
5. Create a Process Flow
6. Add Components (Jobs)
7. Add Conditions/Prompts (if required)
8. Add Scheduling Information
9. Go to the Request option to manually run
10. Observe the status in the Explorer Window
GE Internal
1.Create an Application
1. An Application is nothing but an organizational
group or collection of Jobs and Process Flows.

2. This is the First Step for creating Jobs and


scheduling.

3. It is always advisable to group all your project


related jobs into one Application with a Proper
naming convention that describes best about
your Project

GE Internal
Fig 1 Cont

Fig 1.1

Fig 1.2
GE Internal
2. Create a Library
1. An A library defines the path for the program or
script a job runs.
2. To define a library, you must name the library and
enter a path for one or more operating systems.
3. Library paths can be hard-coded or they can
include environment variables.
4. You can use the same library for jobs that run on
different operating systems by specifying a path
for each.

GE Internal
Fig 2 Cont

Fig 2.1

Fig 2.2

GE Internal
3. Create a Job
1. A job contains all the information required to
execute a program and handle its output.
2. Jobs can be run with a schedule or on an ad hoc
basis.
3. They can also be included in an Applications
Manager process flow.
4. You can add a job to as many process flows as
you wish.
5. If you change a job definition, the change is
applied to every process flow that includes the
job.
GE Internal
3. Create a Job Cont
Key Inputs :
Name:
Application:
Agent:
Queue:
Library:
Library Path:
Program Type:
Program Name:
Status:
GE Internal
Fig 3 Cont

Fig 3.1 Create a Job


GE Internal
Fig 3 Cont

Fig 3.2 (Script-Job-Process Flow Hierarchy)


GE Internal
4. Add Notification
1. Use notifications to send messages and output
files based on task status to email addresses or
any output device defined in Applications
Manager.
2. Use notifications to create output files based on
task statuses and send those output files to email
addresses or any output device defined in
Applications Manager. To use notifications, you:

Define a list of one or more notification details.


Assign the notification to applications, program types, jobs, and
process flow components.
GE Internal
4. Add Notification Cont

Fig 4.1 Add Notification

GE Internal
4. Add Notification Cont

Fig 4.2 Create Notification


GE Internal
5. Create a Process Flow
1. Process flows are used to schedule and execute
one or more jobs and other process flows.
2. Process flows transfer the chore of routine
maintenance and scheduling from operations
personnel to Applications Manager.
3. Basic Steps for Creating a Process Flow
To create a process flow you:
1. Add the process flow object (also called the
process flow header).
2. Add components to the process flow.
3. Specify options for the components.
4. Schedule the process flow (if desired).

GE Internal
5. Fig Cont

Fig 5.1 Create a Process Flow


GE Internal
6. Adding Components
1. Once the Process flow is created, multiple
Components can be added to that process flow
2. Components are nothing but Jobs
3. More than one components can be added to a
single Process Flow
4. The order of execution can also be set for the
set of components added
5. The Properties of a component (job) can be
over-written at the Process Flow level.

Fig 5.1 Create a Process Flow


GE Internal
Fig 6 Cont

Fig 6.1 Add a Component (Job)

Fig 6.2 Changing the order of execution Fig 6.3 Adding Components to a Process Flow
GE Internal
Fig 6 Cont

Fig 6.2 Over-writing Job Properties at Process Flow Level


GE Internal
7. Add Conditions/Prompts
Conditions:
Conditions control the execution of jobs, process flows, or
process flow components. Conditions can be evaluated before,
during, and after a task executes, or after a task is deleted.You
can add, update, or delete conditions for the particular running
of a task from the Backlog.

Fig 7.1 Adding Conditions


GE Internal
7. Add Conditions/Prompts Cont
Advantages of adding Prompts:

1. Prompts can ensure job/code re-usability. Prompts work the


same way that parameters/arguments work for a program
2. A Job can be defined with Prompts and can be used in different
process flows by passing required Prompt Values.

For Example:
In the Transportation environment, there is a re-usable common job defined
For running Informatica Workflows from Appworx. Any Project/Developer
Can use the same job (no need to write new Script / Job) and pass their
Informatica Job details in form of Prompt values. This way a single job can
be used more than once, like the concept of Polymorphism .
GE Internal
7. Add Conditions/Prompts Cont

Prompts:

1. Prompts pass user input to parameters in a program or script


run by a job.
2. They can be defined for jobs or process flows.
3. Values for job prompts can be overridden at the process flow
component level.
4. You can pass prompt values from a process flow to its
components.
5. When you create a prompt, you assign it a data type. Data types
define the format of the data that will be used in the prompt.
6. Before creating prompts for your jobs, its a good idea to think
about how best to take advantage of all the features they
provide.
GE Internal
7. Add Conditions/Prompts Cont

Fig 7.2 Defining Prompts at Job Level

Fig 7.3 Passing Prompt Values at Job/Process Flow Level


GE Internal
8. Add Scheduling information
Scheduling:

1. You can either schedule a Job or a Process


Flow in Appworx
2. To Schedule a job/Process Flow:
i. Go to the Job/Process Flow
ii. Click on the Schedule Tab
iii. Click on the New Button
iv. Fill in the Scheduling information
v. Set the Frequency under the Frequency tab
vi. Add exceptions(if any) in the Exceptions tab
GE Internal
8. Add Scheduling information Cont

Fig 8.1 Selecting Scheduling

Fig 8.2 Provide Scheduling Information


GE Internal
9. Running a Job/PFlow Manually

1. Once, the Jobs and Process Flows are created,


you can run those manually

2. To Run a Job/Process Flow Manually:

i. Go to the Request tab


ii. Type in / Select the Job / Process flow Name
iii. Click on Request
iv. Click on Submit & Close

GE Internal
9. Running a Job/PFlow Manually Cont

Fig 9.1 Request Tab Fig 9.2 Select the Job/Pflow to Run

Fig 9.3 Fill in the Details & Submit to initiate


GE Internal
10. Observe the status in the Explorer Window

i. Once your job is initiated, you can observe the


status of the job in the Explorer Window
ii. The Explorer window carries the list of all the
jobs/ process flows and their status
iii. You can see the status of the recently run jobs
under the Backlog section
iv. You can see the status of the recently run jobs
under the History section
v. You can click on the Job name and find more
details about the job and options
GE Internal
10. Observe the status in Cont

Fig 10.1 Appworx Explorer Window


GE Internal
These were the 10 basic steps to create and
schedule jobs in Appworx. Apart from these,
Appworx has many other functionalities too.
Appworx is one of the powerful dedicated
scheduling Tools available in Market where you can
schedule Unix Scripts
Informatica jobs can also be scheduled and
triggered from Appworx

GE Internal
Thank You

Please reach me ,in case of any Queries:


[email protected]

GE Internal

You might also like