Sage CRM Developers Course

Slides:



Advertisements
Similar presentations
MARKETPLACE TRANSITION FROM CLASSIC INTERFACE TO PHOENIX INTERFACE.
Advertisements

SharePoint Forms All you ever wanted to know about forms but were afraid to ask.
Overview and Demonstration of declarative workflows in SharePoint using Microsoft SharePoint Designer 2007 Kevin Hughes MCT, MCITP, MCSA, MCTS, MCP, Network+,
1 1Line Training Capacity Release - Phase II Awards and Recall/Reput.
Business logic for annotation workflow Tom Oldfield July 21, 2010.
Sage CRM Developers Course
Sage CRM Developers Course Entities and the Data Model (Part 2)
Slide 1 of 39 Welcome to GSA’s Vendor and Customer Self Service (VCSS) course Section 5: Statement and Dispute Navigation This presentation is compliant.
Create slices and hotspots Create links in Web pages Create rollovers from slices Create basic animation Add tweening symbol instances to create animation.
Performed by:Gidi Getter Svetlana Klinovsky Supervised by:Viktor Kulikov 08/03/2009.
© 2004, The Trustees of Indiana University 1 OneStart Workflow Basics Brian McGough, Manager, Systems Integration, UITS Ryan Kirkendall, Lead Developer.
Project Implementation for COSC 5050 Distributed Database Applications Lab6.
Sage CRM Developers Course
Figure 1. Hit analysis in 2002 of database-driven web applications Hits by Category in 2002 N = 73,873 Results Reporting 27% GME 26% Research 20% Bed Availability.
What is so good about Archie and RevMan 5
Sage CRM Developers Course Programming for the Advanced Manager.
Sage CRM Developers Course
Sage CRM Developers Course Using the.NET API (2).
Sage CRM Developers Course
Sage CRM v7.2 Developers Course An Introduction to the Developer Program.
CST JavaScript Validating Form Data with JavaScript.
McGraw-Hill© 2007 The McGraw-Hill Companies, Inc. All rights reserved. 1-1.
Classroom User Training June 29, 2005 Presented by:
Slide 1 of 19 Welcome to GSA’s Vendor and Customer Self Service (VCSS) course Section 7: Correspondence Navigation This presentation is compliant with.
Chapter 5 Java Script And Forms JavaScript, Third Edition.
Chapter 6: Forms JavaScript - Introductory. Previewing the Product Registration Form.
G.T.R. Data Inc. Welcome to our EDI Overview. G.T.R. Data Inc. EDI Demonstration This demonstration will take you on a guided tour of our software. After.
Advanced Web Design Scripting Tutorial Chapters. Scripting Intro The scripting part of the forthcoming Advanced Web Design textbook introduces you to.
Developing Workflows with SharePoint Designer David Coe Application Development Consultant Microsoft Corporation.
Sage CRM Developers Course
1 COMPANY CONFIDENTIAL Model-N Training Session and Q&A.
Using Client-Side Scripts to Enhance Web Applications 1.
JavaScript, Fourth Edition Chapter 5 Validating Form Data with JavaScript.
 Whether using paper forms or forms on the web, forms are used for gathering information. User enter information into designated areas, or fields. Forms.
TRW Code Updates for WCRS Document Activity ERD, EAR and Part Generator Changes August, 2006 TRW Automotive August, 2006 TRW Automotive August, 2006.
Microsoft Access 2013 ®® Tutorial 10 Automating Tasks with Macros.
Sage CRM Developers Course Using the Component Manager.
GSA’s Vendor and Customer Self Service (VCSS).  View and Print Statements  View and print statements for your accounts.  Statement Search by Agreement.
My Dashboard (for Corporate Users) Intuit Financial Services University Business Financial Solutions Certification.
Sage CRM Developers Course
3 Copyright © 2004, Oracle. All rights reserved. Working in the Forms Developer Environment.
JavaScript, Fourth Edition
Windows and frames and the anchor tag. Frames Independent, scrollable portions of a Web browser window, with each frame capable of containing its own.
© 2011 Delmar, Cengage Learning Chapter 10 Using ActionScript to Enhance User Experience.
Formulas and Form Rule Use Cases
Links take you to…  Different slides in your presentation  A different PowerPoint presentation  Any program - (Word can be used for example to complete.
©SoftMooreSlide 1 Introduction to HTML: Forms ©SoftMooreSlide 2 Forms Forms provide a simple mechanism for collecting user data and submitting it to.
8 Chapter Eight Server-side Scripts. 8 Chapter Objectives Create dynamic Web pages that retrieve and display database data using Active Server Pages Process.
Using Workflow With Dataforms Tim Borntreger, Director of Client Services.
What’s New in Sage CRM 6.0 Jeff Richards
Sagecrm.com Sage CRM An Introduction to the Developer Program.
Lawson Mid-America User Group Spring 2016 Meeting.
Company LOGO Sage CRM – Marketing Sage CRM 7.3 provides a new integration with MailChimp for marketing campaigns. In this.
Top New Features in Dynamics CRM 2013 Corey Hanson Grant Geiszler.
JavaScript, Sixth Edition
Project Management: Messages
Oracle Application Express (APEX)
CARA 3.10 Major New Features
TE004 Smart Change Management with Sage CRM Component Manager
CS3015 Beacon Module 4 Messenger & Setting Preferences
Additional Configuration The Intercompany Integration Solution for SAP Business One Version 2.0 for SAP Business One 9.1 Welcome to the course on additional.
5.8 Presentation.
Dreaming of a Paperless Office
IDA CRM and Project Management
Additional Configuration The Intercompany Integration Solution for SAP Business One Version 2.0 for SAP Business One 9.1 Welcome to the course on additional.
Using JDeveloper.
Analysis models and design models
Using Employee Development in ADP Workforce Now
CodePainter Revolution Trainer Course
Evaluations and Trials in Alma
Presentation transcript:

Sage CRM Developers Course Workflow (1)

Looking ahead to the classes DP01: Introduction to the Development Partner Program DP02: Entities and the Data Model (Part 1 of 2) DP03: Entities and the Data Model (Part 2 of 2) DP04: Implementing Screen Based Rules (Part 1 of 2) DP05: Implementing Screen Based Rules (Part 2 of 2) DP06: Screen and User Independent Business Rules DP07: Workflow (Part 1 of 2) DP08: Workflow (Part 2 of 2) DP09: Using the API Objects in ASP Pages (Part 1 of 2) DP10 : Using the API Objects in ASP Pages (Part 2 of 2) DP11: Using the Component Manager DP12: Programming for the Advanced Email Manager DP13: Using the Web Services API DP14: Using the Web Services API (Part 2 of 2) DP15: Coding the Web Self Service COM API (Part 1 of 2) DP16: Coding the Web Self Service COM API (Part 2 of 2) DP17: Using the .NET API (Part 1 of 2) DP18: Using the .NET API (Part 2 of 2)

Workflow Control of process and data tasks Rules CRM offers graphical representation Progress through logical arbitrary steps/states using ‘rules’ that govern transition Rules User driven action Uses JScript to check the data condition E.g.. whether rule is available Time driven action Uses SQL to check the data and time condition E.g.. whether the rule is executed Workflow as a mechanism for implementing business rules Integrate tightly with other scripting E.g.. Field Level and Table Level

New workflow is described in Visio Diagram.

A Simple Opportunity Workflow New Oppo Lead Qualified Quoted Negotiating Sold Lost Reassign Convert from Lead

Graphical Workflow Flow diagram of workflow process produced following analysis (previous slide) has to be understood and turned into CRM Graphical form. Decision Tree like diagram Looping and branching and reuse of rules and states supported

Custom Workflow Entities Entity Default Workflow Workflow Progress Table Mentioned in Config New Workflow Opportunity P Cases Solutions Leads Person O Company Communications Campaigns Waves Waveitems Custom Entity

Workflow Configuration Default Workflow provided for: Leads Opportunity Cases Solutions Campaigns Waves WaveItems Enable Workflow in Admin>Configuration>Workflow For other workflow capable entities then workflow always enabled

Workflow Tracking Workflow All entities above work in same way. Lead Solution Case Opportunity All entities above work in same way.

User Driven Workflow Rule Types Primary Rules Transition Rules Conditional Rules Global Rules

Primary Rules Initial creation of record Condition Controls whether button displays NOTE: Where entity life cycle starts with Dedupe Search or Inbuilt System Action Custom Workflow needs to start with Transitional Rule e.g.. NewCompany NewIndividual

Limiting Access to Rules Simplest way of limiting access is by using the "Restrict to Team" selection box. Code Needed for more complex restrictions The JavaScript Condition field on Primary, Transition, and Global rules limits whether or not the rule appears for a given record. The workflow button will be hidden where the script sets Valid to be false, and where Valid equals true then it will be displayed. To limit access to the rule to members of the Support and Operations team the JavaScript condition would be: var intTeamID = CurrentUser.user_primarychannelid; if (intTeamID == 1 || intTeamID == 5) { Valid = true; } else { Valid = false; }

Access to Primary Rules and Main Menu ‘New’ options Using the JavaScript Condition to Control Primary Rule Availability To hide the 'New' button on the case list called from the company and person tab bars (where the company is "on hold") the following JavaScript condition can be used: var strStatus = CRM.GetContextInfo("company", "comp_status"); if (strStatus == "On Hold") { Valid = false; } else { Valid = true; } Note: The method GetContextInfo can be used here because the company entity is in context. The Main Menu New Button & Context The example given will not hide the New Button that is called from the Main Menu, nor will it hide the New Button on the 'My CRM' nor the 'Team' menus. This is because the customer may not be known until the user chooses it in the company field of the case entry screen and confirms it using the Save button. In this example to stop the users creating a support case for a customer that is "On Hold" we need to use a validation rule. This example validation rule can be added to a field such as case_referenceid that appears in the casedetailbox screen. This validation rule will also act as a double check to the first example given. intCompID = Values("case_primarycompanyid"); var recComp = CRM.FindRecord("company", "comp_companyid ="+intCompID); if (recComp.comp_status=="On Hold") { Valid = false; ErrorStr = "You may not create a case for a company placed on hold."; }

Transition Rules Transition Rules Movement from state to state Condition Controls whether button displays A transition rule that is linked to the workflow 'entry state' can then be used to attach the record to a workflow. If a  record is created by system default behaviour (e.g. via a lead converted to opportunity) then the newly recreated record will have a null workflowid field. 

Global Rules No movement from state to state Available at all states once record added to workflow Condition Controls whether button displays

Conditional Rules Similar to Transition rule: Movement from state to state Condition Button always displayed Controls branching of to alternate states triggering different actions based on data values

Action Availability P O NA Set Column Value Reset Column Value Display Field for Amendment Show Message on Screen Show Notification on Screen Send Email Send SMS Message Create Task Create Opportunity Create Case Create Lead Create Solution Create Merge Document Execute SQL Statement Run Stored Procedure Create Task for Target List Create Document for Target List Export Target List to File Create Outbound Call List Primary P O Transitional Global Conditional Escalation NA

Follow up Actions The ability to create Tasks, Opportunities, Cases, Leads and Solutions is available to the following Workflow Rules types: Transitional Global Conditional Create Task This will always create a communication that references the same workflowinstance as the creating entity. The Task will be attached to the same workflow Create Opportunity This will create a new opportunity that is unattached to workflow. This means that the oppo_workflowid will be null. The exception is when created from a opportunity workflow then same workflowinstance is referenced. The new Opportunity is part of the same workflow as the original opportunity Create Case This will create a new case that is unattached to workflow. This means that the case_workflowid will be null. The exception is when created from a case workflow then same workflowinstance is referenced. In this instance the new case is part of the same workflow as the original case. Create Lead This will create a new Lead that is unattached to workflow. This means that the lead_workflowid will be null. The exception is when created from a Lead workflow then same workflowinstance is referenced. In this instance the new Lead is part of the same workflow as the original Lead. Create Solution This will create a new Solution that is unattached to workflow. This means that the soln_workflowid will be null. The exception is when created from a Solution workflow then same workflowinstance is referenced. In this instance the new Solution is part of the same workflow as the original Solution.

Direct Execution of SQL statements Complete SQL Statement (Full DML) Multiple Statements Allowed (;) Use of #field# E.g.. update Comm_Link set CmLi_Deleted = 1 where CmLi_Comm_CommunicationId in (select Comm_CommunicationId from Communication where Comm_WaveItemId=#WaIt_WaveItemId#);update Communication set Comm_Deleted=1 where Comm_WaveItemId=#WaIt_WaveItemId# NOTE Separate statements can not pass variables Can’t declare variable in one statement then use it in another

Q&A

Looking ahead to the classes DP01: Introduction to the Development Partner Program DP02: Entities and the Data Model (Part 1 of 2) DP03: Entities and the Data Model (Part 2 of 2) DP04: Implementing Screen Based Rules (Part 1 of 2) DP05: Implementing Screen Based Rules (Part 2 of 2) DP06: Screen and User Independent Business Rules DP07: Workflow (Part 1 of 2) DP08: Workflow (Part 2 of 2) DP09: Using the API Objects in ASP Pages (Part 1 of 2) DP10 : Using the API Objects in ASP Pages (Part 2 of 2) DP11: Using the Component Manager DP12: Programming for the Advanced Email Manager DP13: Using the Web Services API DP14: Using the Web Services API (Part 2 of 2) DP15: Coding the Web Self Service COM API (Part 1 of 2) DP16: Coding the Web Self Service COM API (Part 2 of 2) DP17: Using the .NET API (Part 1 of 2) DP18: Using the .NET API (Part 2 of 2)

Visit the Sage CRM Ecosystem at www.sagecrm.com Facebook: Sage CRM Twitter: wwwsagecrmcom LinkedIn: Sage CRM (Official Group) YouTube: wwwsagecrmcom