By, Nasheet Ahmed Siddiqui.  Agenda Workflow overview Workflow development Query for a Workflow Workflow category Workflow type Workflow elements Enable.

Slides:



Advertisements
Similar presentations
Publication Module using back end interface. Institution Data Entry Add Documents. Edit/Delete Documents that are added but not yet sent to Institution.
Advertisements

Overview MOC Manager is a user configurable workflow processor designed to structure the change process in accordance with your company’s business rules.
Basic SharePoint Workflows
Adempiere Technical Training Day 5. Processes prepare method for getting the parameters into variables – Record_ID just work for buttons doIt method for.
PantherSoft Financials Smart Internal Billing. Agenda  Benefits  Security and User Roles  Definitions  Workflow  Defining/Modifying Items  Creating.
Tutorial 12: Enhancing Excel with Visual Basic for Applications
MIP Workbench: Revisions FEMA Learning Management System FEE ADMINISTRATION ROLE.
* Requisition Processing Common Problems * Budget Checking Errors * Run Controls * Process Scheduler Request & Process Monitor * Questions.
TFACTS Private Provider Financial/Invoicing Overview 1.
SMART Tip Sheets Maryland February 2008 IGSR Technical Support: SMART Basic Navigation Menus/Toolbars Navigation Buttons/Table Actions Controls.
Java Programming, 3e Concepts and Techniques Chapter 4 Decision Making and Repetition with Reusable Objects.
Guide to Oracle10G1 Introduction To Forms Builder Chapter 5.
A Guide to Oracle9i1 Introduction To Forms Builder Chapter 5.
Customizing Word Microsoft Office Word 2007 Illustrated Complete.
Introduction To Form Builder
Access Tutorial 10 Automating Tasks with Macros
Chapter 9 Macros, Navigation Forms, PivotTables, and PivotCharts
Enables businesses achieve greater efficiency by sharing data and processes Shared application data across legal entities— party, location, products…
Microsoft Visual Basic 2005 CHAPTER 8 Using Procedures and Exception Handling.
NWU: Helpdesk Call handling ITC Training: Session 1 -Call Logging and Remedy -Campus Helpdesks and Escalation -Remedy Solution Database -Remedy Mechanisms.
Chapter 2 Querying a Database MICROSOFT ACCESS 2010.
Microsoft Visual Basic 2012 Using Procedures and Exception Handling CHAPTER SEVEN.
 Basic.  Punch-Out Supplier – The punch-out suppliers are available on the main Home/Shop screen. These are vendors with which RPI has pricing agreements.
Open source administration software for education research administration Awards Module Susan Mundt, University of Arizona KCC Award Subcommittee Co-Lead.
© 2008 The McGraw-Hill Companies, Inc. All rights reserved. WORD 2007 M I C R O S O F T ® THE PROFESSIONAL APPROACH S E R I E S Lesson 22 Macros.
Developing Workflows with SharePoint Designer David Coe Application Development Consultant Microsoft Corporation.
Microsoft Visual Basic 2008 CHAPTER 8 Using Procedures and Exception Handling.
1 Web-Enabled Decision Support Systems Objects and Procedures Don McLaughlin IE 423 Design of Decision Support Systems (304)
Creating a Web Site to Gather Data and Conduct Research.
Copyright © 2007, Oracle. All rights reserved. Managing Concurrent Requests.
LiveCycle Data Services Introduction Part 2. Part 2? This is the second in our series on LiveCycle Data Services. If you missed our first presentation,
Microsoft Visual Basic 2010: Reloaded Fourth Edition Chapter Twelve Access Databases and LINQ.
Automating Database Processing Chapter 6. Chapter Introduction Design and implement user-friendly menu – Called navigation form Macros – Automate repetitive.
Intra SEZ Transfer Request Demo 1.IntroductionIntroduction 2.Nature of transactions coveredNature of transactions covered 3.Role of Unit Maker/CHA user.
Tutorial 111 The Visual Studio.NET Environment The major differences between Visual Basic 6.0 and Visual Basic.NET are the latter’s support for true object-oriented.
Microsoft Access 2013 Simplify Data Entry with Forms Chapter 3.
JavaScript, Fourth Edition Chapter 5 Validating Form Data with JavaScript.
University of Sunderland COM 220 Lecture Six Slide 1 Building Interactive Forms Applications using Oracle.
Key Applications Module Lesson 21 — Access Essentials
MS Access 2007 Management Information Systems 1. Overview 2  What is MS Access?  Access Terminology  Access Window  Database Window  Create New Database.
0 eCPIC Admin Training: Automating User Account Management These training materials are owned by the Federal Government. They can be used or modified only.
Statewide Financial System Program 1 Commitment Control (KK): Refresher Training Key Points Commitment Control (KK): Refresher Training Key Points Welcome.
Dimension Framework in AX 6 By, Nasheet Ahmed Siddiqui.
37 Copyright © 2007, Oracle. All rights reserved. Module 37: Executing Workflow Processes Siebel 8.0 Essentials.
Configuring Workflows Module 4. Overview  Understanding Workflows  Using Default Workflows  Creating Workflow Instances.
3 Copyright © 2004, Oracle. All rights reserved. Working in the Forms Developer Environment.
Chapter Fourteen Access Databases and SQL Programming with Microsoft Visual Basic th Edition.
Java Programming, 2E Introductory Concepts and Techniques Chapter 4 Decision Making and Repetition with Reusable Objects.
Visual Basic for Application - Microsoft Access 2003 Programming applications using Objects.
Information Management System “Institutions Module" Information Management System “Institutions Module" The System management module is an integrated part.
Contract Invoice Guide
Information Management System “Project Module" Information Management System “Project Module" The Project module is an integrated part of System. The back.
ILL Inter-Library Loan. Inter-Library Loan Overview The ILL module is for the management of Inter-library loans received and sent by Your library.
Using Workflow With Dataforms Tim Borntreger, Director of Client Services.
Banner 6.x Fundamentals: Navigation and Forms. n Name n Organization n Title/function n Job responsibilities n SCT Banner Experience n Expectations Introductions.
QC – User Interface QUALITY CENTER. QC – Testing Process QC testing process includes four phases: Specifying Requirements Specifying Requirements Planning.
FHA Training Module 1 This document reflects current policy related to this topic. Its content is approved for use in all external and internal FHA-related.
Programming with Microsoft Visual Basic 2012 Chapter 14: Access Databases and SQL.
COMPREHENSIVE Excel Tutorial 12 Expanding Excel with Visual Basic for Applications.
Working in the Forms Developer Environment
Security Management: Successes and Failures
Microsoft MB6-704 Microsoft Dynamics AX 2012 R3 CU8 Development Introduction Practice Exam Questions.
Implementation Specialists Presents
Microsoft Access Illustrated
Quality Center (QC) 11 Training Global IT QA Testing Team 2013
To the ETS – Encumbrance Online Training Course
– JukeBox – transparency, flexibility, speed and comfort!
Using Employee Development in ADP Workforce Now
To the ETS – Encumbrance Online Training Course
Super User Training Lesson #2 Documents
Presentation transcript:

By, Nasheet Ahmed Siddiqui

 Agenda Workflow overview Workflow development Query for a Workflow Workflow category Workflow type Workflow elements Enable workflow on form Workflow Providers Overview Workflow configuration

  Workflow is defined as the movement of documents or tasks through a work process.  In Microsoft Dynamics AX, the focus of workflow is on approval and task-oriented workflows. Workflow overview

 Developer design the workflow based on customer requirements. The company administrator configures the workflow. Users run the workflow.

  The developer role in Microsoft Dynamics AX is primarily to add workflow to existing business documents or create new documents that support workflow.  Creating a query for a workflow.  Creating a workflow category.  Creating a workflow type in the AOT.  Creating Workflow elements  Enable workflow on the form. Workflow development

  In the AOT, right-click the Queries node, and then select New Query. A query group displays under the Queries node.  Right-click the new query, click Rename, and then enter MyQuery.  Expand the new query, right-click the Data Sources node, and then click New Data Source. A data source group displays under the Data Sources node.  Right-click the new data source group and then click Properties.  In the Properties sheet, set the Table property to CustTable.  Expand the CusTable_1 data source, and select the Fields node. In the Properties sheet, set the Dynamic property to Yes. Query for a Workflow

  In the AOT, expand the Workflow node.  Right-click the Workflow Categories node, and then select New Workflow Category. A new workflow category group displays under the Workflow Categories node.  Right-click the new workflow category and then click Properties.  In the Properties sheet, set the name and module properties.  In the AOT, right-click MyWorkflowCategory, and then click Save. Workflow Category

  The Workflow type is a building block that can be used to create customized workflows that enforce business policies.  In Microsoft Dynamics AX, you enable the workflow process for a workflow document by creating Workflow types that are used in the workflow configuration user interface.  A Workflow type defines information about:  Which workflow document to use.  Tasks and approvals that can be configured by the end-user.  Workflow categories used for assigning a Workflow type to a specific module.  Menu items and event handlers. Workflow Type

  In AOT->Workflow->Workflow Types->New Workflow type. Workflow Type

  The workflow document class that you create defines table fields for conditions in two ways: 1. The Application Object Tree (AOT) query. The getQueryName method of the Workflow Document Class must be overridden to return the name of the query.Workflow Document Class 2. Parameter methods. You can optionally add calculated fields by adding parameter methods with a specific signature on the class. Workflow Type(Define the workflow document )

  Microsoft Dynamics AX workflow uses events to initiate business logic in your application. For example, the workflow type has a property event handler for business logic when a workflow is started.  Workflow event handlers in Microsoft Dynamics AX enable you to run application-specific business logic at key points during workflow execution. Workflow events are implemented at the workflow level and the workflow element level Workflow Events

 EventDescription WorkflowStartedEventHan dler This event raises when the workflow instance starts. WorkflowCompletedEvent Handler This event raises when the workflow instance ends after it is completed. WorkflowCanceledEventH andler This event raises when the workflow instance ends after it is canceled. Use this event handler to perform any cleanup operations needed. WorkflowConfigDataChan geEventHandler This event raises when the workflow configuration data changes. Use this event handler to identify when a configuration has changed. For example, if you create an association between the application data and a workflow configuration, this event handler would raise if the configuration was deleted or updated. Workflow Level Event Handlers At the workflow level, event handlers are provided for the workflow started, completed, canceled, and configuration data change events. WorkflowHandler class implements WorkflowCanceledEventHandler, WorkflowCompletedEventHandler, WorkflowStartedEventHandler. Started,completed and canceled methods create to handle below events.

  Create a submitWorkflow and CancelWorflow menuitems.  Set the object property of submitwork menuitem to the SubmitWorkflow class.  Set the object property of CancelWorflow menuitem to the WorkflowCancelManager class. Workflow Menu Items

  In Microsoft Dynamics AX, a workflow is started when the user clicks the Submit button on the workflow toolbar.  The Submit button is bound to an action menu item that calls the main method on a SubmitToWorkflow class.  Workflow activation is added in the main method from the workflow type name. SubmitToWorkflow Class

  public static void main(Args args)  {  // Variable declaration.  recId _recId = args.record().RecId;  WorkflowCorrelationId _workflowCorrelationId;  // Hardcoded type name  workflowTypeName _workflowTypeName = workFlowTypeStr("MyWorkflowType");  // Initial note is the information that users enter when they  // submit the document for workflow.  WorkflowComment _initialNote = "";  WorkflowSubmitDialog workflowSubmitDialog;  // Opens the submit to workflow dialog.  workflowSubmitDialog = WorkflowSubmitDialog::construct(args.caller().getActiveWorkflowConfiguration());  workflowSubmitDialog.run();  if (workflowSubmitDialog.parmIsClosedOK())  {  _recId = args.record().RecId;  // Get comments from the submit to workflow dialog.  _initialNote = workflowSubmitDialog.parmWorkflowComment();  try  {  ttsbegin;  // Activate the workflow.  _workflowCorrelationId = Workflow::activateFromWorkflowType(_workflowTypeName, _recId, _initialNote, NoYes::No);  // Send an Infolog message.  info("Submitted to workflow.");  ttscommit;  }  catch(exception::Error)  {  info("Error on workflow activation.");  } SubmitToWorkflow Class

  The elements of a workflow are created by you in the AOT and configured by application administrators. The workflow structure consists of sequences of workflow elements. An element can be a task, approval, or a sub- workflow.  A task is a workflow element with a single step defined in the Application Object Tree (AOT) that is used to implement task-based processes.  An approval is a specialized task that can have multiple steps defined in the AOT that is used to implement approval processes. Workflow elements

  You can use workflow approvals to track the status of a workflow document that has fixed workflow outcome types such as Approve, Reject, Deny, or RequestChange.  AOT->WorkFlow>Approvals-> New Approval  Associate an Action Menu Item with a Workflow Approval  Associate a Display Menu item with a Workflow Approval  Create and implement event handlers on the workflow approval Create a Workflow Approval

  A workflow may contain one or more tasks. However, each task may only contain one step with one or more outcome types.  AOT->WorkFlow->Tasks-> New Task  Associate an Action Menu Item with a Workflow Task  Associate a Display Menu item with a Workflow Task  Create and implement event handlers on the workflow task Create a Workflow Task

 PropertyValue WorkflowEnabledYes WorkflowDataSourceCustTable WorkflowTypeCustWorkflow Enable Workflow on Form 1.In the AOT, expand the Forms node. 2.Expand the CustTable form, and then expand the Designs node. 3.In the Designs node, right-click the Design child node, and then click Properties. 4.In the Properties sheet, set the following properties. 5.In the AOT, right-click the CustTable form, and then click Save.

  After the form is enabled for workflow, you will add a canSubmitToWorkflow method to the form. This method runs before the Submit button is enabled to verify that the workflow document is in a valid state to submit to workflow. Enable Workflow on Form

  In Microsoft Dynamics AX, you can use workflow providers to provide application-specific information to a workflow instance at runtime.  For example, you can use workflow providers to determine who is required to approve an invoice, or by which date an invoice payment is considered to be late. Workflow Providers

  Hierarchy Assignment  Determines a user ID based on a search in a hierarchy.  Due date  Determines the due date for a task or approval, or the due date for a step in a task or approval.  Participant  Resolves a user group or role into one or more specific user IDs. Workflow Providers Types

  Demo