Running Projects

Overview

Once you are done with composing and orchestrating your project

1 - you can launch it directly on any computer using the Designer:

  • Previously you can open the Project Details to set the Run Options (mouse over the option to get explanations):




  • Click Run button as below



  • Click button 1 to run a selected project
  • Click button 2 to run a currently opened project (same as the Run button in the Project Details window above)



The following window is displayed:


Properties:

  • Unselect “Run in Interactive mode” to run the project in the background if you want to use appRules during the execution.
  • The Project is Run by Default as a process launch by the HostService or IIS, but you can also Run it remotely using a selected WebApi Service (Run On server list) - in this case the service must be defined in File–>Master Admin Settings–>WebApi Server Definitions.
  • Select View Execution Flow and a Delay in seconds to visualize the activities executed in the designer during execution if launched interactively (the activity currently executed is highlighted in the designer during the delay specified)
  • Click the Run button at the top of window to start the execution.



At the end of the execution, click on the Logs/Stats button in the project ribbon to display the project execution statistics

If you tick the View execution Flow checkbox, the process shows the activities executed at run time (in green with a delay at each step specified in the Delay field) and an Execution flow window displayed at runtime allows you to end the execution flow display or cancel the job.





2 - You can also schedule the workflow to run at a specific time or regularly: see Schedule a Project

3 - You can launch a project remotely on the current or a distant machine using the Web Api Service, this service is installed by the appRules Portal Installation Package. see:Web Api Setup for Manual Installation this service can be called by a POST request, see Using Web Api
The webapi is also called by the ProjectExec executable with parameters if you want to launch the workflow from a cmd file and schedule it in batch using the Windows Scheduler or any other Scheduling software.