This topic provides generic instructions on how to create jobs from the FlowForce Server Web administration interface. The generic instructions are meant to help you understand the structure of jobs and their available settings; however, not every step and setting listed below is applicable in real-life scenarios. Configuring jobs is a flexible process by definition and there might be more than one way to achieve the same result. To help you get an idea of various things you can do with jobs, this documentation also includes miscellaneous job configuration examples.
oContainer - Read, Write
oConfiguration - Read, Write
•Before creating a job, it might be a good idea to store the credentials of the operating system user account with which the job will be executed (see Defining Credentials).
•To avoid common errors when creating jobs, and especially if you intend to pass values between steps or between jobs, see The FlowForce Expression Language.
To create a job:
1.Click Configuration, and then navigate to the container in which you want to create the job.
2.Click Create, and then Create Job.
3.Enter a job name, and, optionally, a job description.
4.If the job requires any values to be passed to it at runtime, create the required job input parameters (see Managing Input Parameters).
5.Under Execution Steps, add the steps of the job (see Managing Steps). Every job must have at least one step.
6.If the last step of the job returns a result, and if you intend to use the result in other jobs, select the return type under Execution Result (see Declaring the return type of a job).
7.If you want FlowForce Server to cache the returned result, specify the caching preferences (see Caching Job Results).
8.Under Triggers, add the trigger (or triggers) that will fire the job (see Managing Triggers). If the job will be exposed as a Web service, adding a trigger is not necessary.
9.If you want to expose the job as a Web service, click the Make this job available via HTTP... check box (see Exposing Jobs as Web Services).
10.Under Credentials, select an existing credential record or specify a local credential (see Credentials).
11.If the job returns a result that you want to use in other jobs or expose as a Web service, define the job's cache settings (see Caching Job Results).
12.Optionally, define the job's queue settings (see Defining Queue Settings).
13.Click Save. FlowForce Server validates the entered information and, if necessary, highlights in red any fields that require your attention.