Árvore de páginas

Versões comparadas

Chave

  • Esta linha foi adicionada.
  • Esta linha foi removida.
  • A formatação mudou.
HTML

<div id="main-content" class="wiki-content group">
	<h1 id="AtividadesWorkflow-AtividadeComum">
		<img class="confluence-embedded-image"
			src="http://tdn.totvs.com/download/attachments/126715094/23.png?version=1&modificationDate=1393445824000&api=v2"
			data-image-src="http://tdn.totvs.com/download/attachments/126715094/23.png?version=1&modificationDate=1393445824000&api=v2"> Common
		Activity
	</h1>
	<p>This is the common workflow activity on Fluig. It is the basic
		unit of separation of a workflow process in activities . It must be
		executed by a user so that the workflow request can be moved forward
		with the workflow request.</p>
	<h1 id="AtividadesWorkflow-Atividadeusuário">
		<img class="confluence-embedded-image"
			src="http://tdn.totvs.com/download/attachments/126715094/24.png?version=1&modificationDate=1393445837000&api=v2"
			data-image-src="http://tdn.totvs.com/download/attachments/126715094/24.png?version=1&modificationDate=1393445837000&api=v2"> User
		activity
	</h1>
	<p>Very similar to the common activity, but more restrictive. This
		notation determines that it is mandatory for a user to execute this
		task and that it is controlled and registered by Fluig.</p>
	<h1 id="AtividadesWorkflow-Atividadedeserviço">
		<img class="confluence-embedded-image"
			src="http://tdn.totvs.com/download/attachments/126715094/26.png?version=1&modificationDate=1393445849000&api=v2"
			data-image-src="http://tdn.totvs.com/download/attachments/126715094/26.png?version=1&modificationDate=1393445849000&api=v2"> Service
		activity
	</h1>
	<p>This activity allows to check data from an external service and
		go to the data process originated from these external services. In the
		activity properties, it is possible to select a service registered in
		fluig and edit a javascript script that will access methods and data
		for that service . Using the hAPI and hFOrms apis, it is possible to
		send data obtained in the service consultation to fluig.</p>
	<div>
		<p>Example of a code generated to initiate the integration work
			with the service:</p>
		<div class="code panel pdl" style="border-width: 1px;">
			<div class="codeContent panelContent pdl">
				<pre class="theme: Confluence; brush: javascript; gutter: false"
					style="font-size: 12px;">try {
	var Service = ServiceManager.getService('rm');
	var serviceHelper = Service.getBean();
	var serviceLocator = serviceHelper.instantiate('classe.locator');
} catch(error) { 
	log.error(error);
}</pre>
			</div>
		</div>
		<p>The code generated in this script is incorporated to the
			afterStateEntry event related to this process and it will be
			processed in the moment the request enters the service activity.</p>
		<h1 id="AtividadesWorkflow-AtividadedeEnviodemensagem">
			<img class="confluence-embedded-image"
				src="http://tdn.totvs.com/download/attachments/126715094/27.png?version=1&modificationDate=1393445865000&api=v2"
				data-image-src="http://tdn.totvs.com/download/attachments/126715094/27.png?version=1&modificationDate=1393445865000&api=v2"> Message
			sending activity
		</h1>
		<p>This activity allows the sending of an e-mail message to an
			external address to the address on the fluig tool. It is possible to
			set up the type and e-mail (text or html), the subject and body of
			the e-mail in a modeling time.&#160;</p>
		<h1 id="AtividadesWorkflow-Atividademanual">
			<img class="confluence-embedded-image"
				src="http://tdn.totvs.com/download/attachments/126715094/28.png?version=1&modificationDate=1393445873000&api=v2"
				data-image-src="http://tdn.totvs.com/download/attachments/126715094/28.png?version=1&modificationDate=1393445873000&api=v2"> Manual
			activity
		</h1>
		<p>Manual activity represents an activity external to the system
			that does not necessarily need to be executed by a user using the
			process moving screen. A practical example would be the user seeking
			a document that has just been printed. This notation must be used in
			cases where these external activities need to be placed in the
			process diagram for process documentation purposes.</p>
	</div>
	<div>
		<h1 id="AtividadesWorkflow-Atividadedenegócio.">
			<img class="confluence-embedded-image"
				src="http://tdn.totvs.com/download/attachments/126715094/25.png?version=2&modificationDate=1393445912000&api=v2"
				data-image-src="http://tdn.totvs.com/download/attachments/126715094/25.png?version=2&modificationDate=1393445912000&api=v2"> Business
			activity.
		</h1>
		<p>The Objective of this type of activity is to query business
			rules that are not internalized in Fluig. This query is made by a
			javascript script consulting a pre-registered service in fluig. The
			internal behavior of this activity shall be the same behavior of the
			service activity.</p>
	</div>
	<div>
		<h1 id="AtividadesWorkflow-Atividadedescript">
			<img class="confluence-embedded-image"
				src="http://tdn.totvs.com/download/attachments/126715094/29.png?version=1&modificationDate=1393445900000&api=v2"
				data-image-src="http://tdn.totvs.com/download/attachments/126715094/29.png?version=1&modificationDate=1393445900000&api=v2"> Script
			activity
		</h1>
		<p>This activity executes a script by being executed. In a
			modeling time, this script must be developed in javascript language
			and can use all infrastructure apis that fluig offers, such as hApi
			and hForm.</p>
		<p>Subprocess</p>
		<h1 id="AtividadesWorkflow-Atividadedenegócio..1">
			<img class="confluence-embedded-image"
				src="http://tdn.totvs.com/download/attachments/126715094/25.png?version=2&modificationDate=1393445912000&api=v2"
				data-image-src="http://tdn.totvs.com/download/attachments/126715094/25.png?version=2&modificationDate=1393445912000&api=v2"> Business
			activity.
		</h1>
		<p>The Objective of this type of activity is to query business
			rules that are not internalized in Fluig. This query is made by a
			javascript script consulting a pre-registered service in fluig. The
			internal behavior of this activity shall be the same behavior of the
			service activity.</p>
		<h1 id="AtividadesWorkflow-Sub-Processo">
			<img class="confluence-embedded-image"
				src="http://tdn.totvs.com/download/attachments/126715094/30.png?version=1&modificationDate=1393445949000&api=v2"
				data-image-src="http://tdn.totvs.com/download/attachments/126715094/30.png?version=1&modificationDate=1393445949000&api=v2">
			Subprocess
		</h1>
		<p>Allows to select another process previously exported to the
			fluig server as a subprocess.</p>
	</div>
	<p>&#160;</p>
</div>