SlideShare une entreprise Scribd logo
1  sur  29
Wielding Workflow Varadarajan Rajaram, Salesforce.com Track: Advanced AppExchange Developers
Safe Harbor Statement ,[object Object],[object Object],[object Object],[object Object]
Agenda ,[object Object],[object Object],[object Object],[object Object]
Definition ,[object Object]
Current Workflow Capabilities (Pre Winter ’07) ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Winter ’07 Workflow Capabilities ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Winter ’07 Workflow Capabilities ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Winter ’07 Workflow
Field Update Action ,[object Object]
Outbound Message Action ,[object Object],[object Object],[object Object]
Other Workflow Enhancements ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Approval Process Automation ,[object Object],[object Object],[object Object],[object Object]
Approvals Demo PTO Request
Sample Approval Process
Anatomy of an Approval Process ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Anatomy of an Approval Process ,[object Object],[object Object],[object Object],[object Object]
Anatomy of an Approval Process ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Anatomy of an Approval Process ,[object Object],[object Object],[object Object],[object Object]
Anatomy of an Approval Process ,[object Object],[object Object],[object Object],[object Object],[object Object]
PTO Request – The Finished Product
Summary of Key Features ,[object Object],[object Object],[object Object]
Varadarajan Rajaram Sr. Product Manager QUESTION & ANSWER Salesforce.com Steve Tamm Technical Architect Salesforce.com
Approvals API ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Approvals API ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Approvals API - ProcessRequest Name Type Description objectId ID For submitting an item for Approval, can be the ID of any record with approval processes defined.  workitemId ID For submitting an item for processing after approval, the Id of the ProcessInstanceWorkitem. action String For approving or rejecting a workitem for processing, a string representing the kind of action to take: Approve, Reject, or Remove. nextActorIds String[] If the approval request requires the user to select the approver, specify the user ID of the next approver here comments String Any comments to be stored with the approval action in the approval history
Approvals API – ProcessResult Name Type Description entityId ID Object being processed Errors Error[] Set of errors instanceId ID The ID of the ProcessInstance InstanceStatus String The status of the current process instance: “Approved,” “Rejected,” “Removed,” “Started,” or “Pending” newWorkitemIds ID[] The IDs of the newly created approval requests, if any Success boolean “ True” if the approval completed successfully
Sample Code public ProcessResult[] doProcessSample(String comments, String id, String[] approverIds) throws ApiFault {          ProcessResult[] processResults;          ProcessSubmitRequest request = new ProcessSubmitRequest();          request.setComments(comments);          request.setNextApproverIds(approverIds);          request.setObjectId(id);          try {              PartnerConnection connection = Connector.newConnection(xconfig);              //calling process on the approval submission              processResults = connection.process(new ProcessSubmitRequest[]{request});              for (ProcessResult processResult : processResults) {                      if(processResult.getSuccess()){                          if(xconfig.isTraceMessage()){                              log.debug("Approval submitted for: " + id + ", approverIds: " + approverIds.toString() + " successful.");                              log.debug("Process Instance Status: " + processResult.getInstanceStatus());                          }                      } else{                          log.error("Approval submitted for: " + id + ", approverIds: " + approverIds.toString() + " FAILED.");                          log.error("ERRORS: " + processResult.getErrors().toString());                      }              }          } catch (ConnectionException ce) {              ApiFault fault = getApiFault(ce);              ce.printStackTrace();              throw fault;          }          return processResults;      }
Additional Resources ,[object Object],[object Object],[object Object],[object Object],[object Object]
Session Feedback Let us know how we’re doing! ,[object Object],[object Object],[object Object],[object Object],[object Object],Save time! Use your cell phone or mobile device to send Feedback via SMS/Text Messaging! Send a message to  26335 In the message body:   Session 239, ####   For example, “ Session 123, 5555 ” Session ID:  239 Session ID # Scores for 4 categories SMS Voting powered by:

Contenu connexe

Tendances

Dreamforce '06 Keynote: Part 2
Dreamforce '06 Keynote: Part 2Dreamforce '06 Keynote: Part 2
Dreamforce '06 Keynote: Part 2dreamforce2006
 
Crash Course in Salesforce Service and Support
Crash Course in Salesforce Service and SupportCrash Course in Salesforce Service and Support
Crash Course in Salesforce Service and Supportdreamforce2006
 
Business Mashups Best of the Web APIs
Business Mashups Best of the Web APIsBusiness Mashups Best of the Web APIs
Business Mashups Best of the Web APIsdreamforce2006
 
Lower TCO and Higher ROI
Lower TCO and Higher ROILower TCO and Higher ROI
Lower TCO and Higher ROIdreamforce2006
 
Mobile AppExchange in the Field Great Apps at Work
Mobile AppExchange in the Field Great Apps at WorkMobile AppExchange in the Field Great Apps at Work
Mobile AppExchange in the Field Great Apps at Workdreamforce2006
 
Three Use Cases for Service & Support
Three Use Cases for Service & SupportThree Use Cases for Service & Support
Three Use Cases for Service & Supportdreamforce2006
 
Improving Customer Service with a Branded Self Service Portal
Improving Customer Service with a Branded Self Service PortalImproving Customer Service with a Branded Self Service Portal
Improving Customer Service with a Branded Self Service Portaldreamforce2006
 
How Salesforce.com Uses Service & Support
How Salesforce.com Uses Service & SupportHow Salesforce.com Uses Service & Support
How Salesforce.com Uses Service & Supportdreamforce2006
 
Tips & Tricks for Building Advanced Workflow
Tips & Tricks for Building Advanced WorkflowTips & Tricks for Building Advanced Workflow
Tips & Tricks for Building Advanced Workflowdreamforce2006
 
How to Make Your Administrator Hat
How to Make Your Administrator HatHow to Make Your Administrator Hat
How to Make Your Administrator Hatdreamforce2006
 
AppExchange 101 - Building Custom Apps to Extend Salesforce
AppExchange 101 - Building Custom Apps to Extend SalesforceAppExchange 101 - Building Custom Apps to Extend Salesforce
AppExchange 101 - Building Custom Apps to Extend Salesforcedreamforce2006
 
Extending Your CRM with World-Class Service and Support
Extending Your CRM with World-Class Service and SupportExtending Your CRM with World-Class Service and Support
Extending Your CRM with World-Class Service and Supportdreamforce2006
 
Quote Management Made Easy Through Salesforce and the AppExchange
Quote Management Made Easy Through Salesforce and the AppExchangeQuote Management Made Easy Through Salesforce and the AppExchange
Quote Management Made Easy Through Salesforce and the AppExchangedreamforce2006
 
Next Generation Web Services
Next Generation Web ServicesNext Generation Web Services
Next Generation Web Servicesdreamforce2006
 
Salesforce PRM, Partner Edition Roadmap
Salesforce PRM, Partner Edition RoadmapSalesforce PRM, Partner Edition Roadmap
Salesforce PRM, Partner Edition Roadmapdreamforce2006
 
Transforming the IT and Business Relationship with On-Demand
Transforming the IT and Business Relationship with On-DemandTransforming the IT and Business Relationship with On-Demand
Transforming the IT and Business Relationship with On-Demanddreamforce2006
 
Running Your IT Helpdesk with Salesforce Service & Support
Running Your IT Helpdesk with Salesforce Service & SupportRunning Your IT Helpdesk with Salesforce Service & Support
Running Your IT Helpdesk with Salesforce Service & Supportdreamforce2006
 
Demystifying S-Controls and AJAX
Demystifying S-Controls and AJAXDemystifying S-Controls and AJAX
Demystifying S-Controls and AJAXdreamforce2006
 
How to Make Change Management a Reality
How to Make Change Management a RealityHow to Make Change Management a Reality
How to Make Change Management a Realitydreamforce2006
 
Lead Distribution Programs to Optimize Channel Revenue Customer Panel
Lead Distribution Programs to Optimize Channel Revenue Customer PanelLead Distribution Programs to Optimize Channel Revenue Customer Panel
Lead Distribution Programs to Optimize Channel Revenue Customer Paneldreamforce2006
 

Tendances (20)

Dreamforce '06 Keynote: Part 2
Dreamforce '06 Keynote: Part 2Dreamforce '06 Keynote: Part 2
Dreamforce '06 Keynote: Part 2
 
Crash Course in Salesforce Service and Support
Crash Course in Salesforce Service and SupportCrash Course in Salesforce Service and Support
Crash Course in Salesforce Service and Support
 
Business Mashups Best of the Web APIs
Business Mashups Best of the Web APIsBusiness Mashups Best of the Web APIs
Business Mashups Best of the Web APIs
 
Lower TCO and Higher ROI
Lower TCO and Higher ROILower TCO and Higher ROI
Lower TCO and Higher ROI
 
Mobile AppExchange in the Field Great Apps at Work
Mobile AppExchange in the Field Great Apps at WorkMobile AppExchange in the Field Great Apps at Work
Mobile AppExchange in the Field Great Apps at Work
 
Three Use Cases for Service & Support
Three Use Cases for Service & SupportThree Use Cases for Service & Support
Three Use Cases for Service & Support
 
Improving Customer Service with a Branded Self Service Portal
Improving Customer Service with a Branded Self Service PortalImproving Customer Service with a Branded Self Service Portal
Improving Customer Service with a Branded Self Service Portal
 
How Salesforce.com Uses Service & Support
How Salesforce.com Uses Service & SupportHow Salesforce.com Uses Service & Support
How Salesforce.com Uses Service & Support
 
Tips & Tricks for Building Advanced Workflow
Tips & Tricks for Building Advanced WorkflowTips & Tricks for Building Advanced Workflow
Tips & Tricks for Building Advanced Workflow
 
How to Make Your Administrator Hat
How to Make Your Administrator HatHow to Make Your Administrator Hat
How to Make Your Administrator Hat
 
AppExchange 101 - Building Custom Apps to Extend Salesforce
AppExchange 101 - Building Custom Apps to Extend SalesforceAppExchange 101 - Building Custom Apps to Extend Salesforce
AppExchange 101 - Building Custom Apps to Extend Salesforce
 
Extending Your CRM with World-Class Service and Support
Extending Your CRM with World-Class Service and SupportExtending Your CRM with World-Class Service and Support
Extending Your CRM with World-Class Service and Support
 
Quote Management Made Easy Through Salesforce and the AppExchange
Quote Management Made Easy Through Salesforce and the AppExchangeQuote Management Made Easy Through Salesforce and the AppExchange
Quote Management Made Easy Through Salesforce and the AppExchange
 
Next Generation Web Services
Next Generation Web ServicesNext Generation Web Services
Next Generation Web Services
 
Salesforce PRM, Partner Edition Roadmap
Salesforce PRM, Partner Edition RoadmapSalesforce PRM, Partner Edition Roadmap
Salesforce PRM, Partner Edition Roadmap
 
Transforming the IT and Business Relationship with On-Demand
Transforming the IT and Business Relationship with On-DemandTransforming the IT and Business Relationship with On-Demand
Transforming the IT and Business Relationship with On-Demand
 
Running Your IT Helpdesk with Salesforce Service & Support
Running Your IT Helpdesk with Salesforce Service & SupportRunning Your IT Helpdesk with Salesforce Service & Support
Running Your IT Helpdesk with Salesforce Service & Support
 
Demystifying S-Controls and AJAX
Demystifying S-Controls and AJAXDemystifying S-Controls and AJAX
Demystifying S-Controls and AJAX
 
How to Make Change Management a Reality
How to Make Change Management a RealityHow to Make Change Management a Reality
How to Make Change Management a Reality
 
Lead Distribution Programs to Optimize Channel Revenue Customer Panel
Lead Distribution Programs to Optimize Channel Revenue Customer PanelLead Distribution Programs to Optimize Channel Revenue Customer Panel
Lead Distribution Programs to Optimize Channel Revenue Customer Panel
 

Similaire à Wielding Workflow

Enterprise Integration - Solution Patterns From the Field
Enterprise Integration - Solution Patterns From the FieldEnterprise Integration - Solution Patterns From the Field
Enterprise Integration - Solution Patterns From the FieldSalesforce Developers
 
Aen003 Rajaram 091707
Aen003 Rajaram 091707Aen003 Rajaram 091707
Aen003 Rajaram 091707Dreamforce07
 
Introducing salesforce shield - Paris Salesforce Developer Group - Oct 15
Introducing salesforce shield - Paris Salesforce Developer Group - Oct 15Introducing salesforce shield - Paris Salesforce Developer Group - Oct 15
Introducing salesforce shield - Paris Salesforce Developer Group - Oct 15Paris Salesforce Developer Group
 
Next-Generation Native Apps
Next-Generation Native AppsNext-Generation Native Apps
Next-Generation Native Appsdreamforce2006
 
Meet Salesforce.com, Your New Employee: Automating Business Processes in the ...
Meet Salesforce.com, Your New Employee: Automating Business Processes in the ...Meet Salesforce.com, Your New Employee: Automating Business Processes in the ...
Meet Salesforce.com, Your New Employee: Automating Business Processes in the ...Ross Bauer
 
Meet Salesforce, Your New Employee
Meet Salesforce, Your New EmployeeMeet Salesforce, Your New Employee
Meet Salesforce, Your New Employeedreamforce2006
 
Inside the Enterprise Case Studies of Customer Apps
Inside the Enterprise Case Studies of Customer AppsInside the Enterprise Case Studies of Customer Apps
Inside the Enterprise Case Studies of Customer Appsdreamforce2006
 
Environment & Release Management
Environment & Release ManagementEnvironment & Release Management
Environment & Release Managementelliando dias
 
TrailheaDX 2019 : Truly Asynchronous Apex Triggers using Change Data Capture
TrailheaDX 2019 : Truly Asynchronous Apex Triggers using Change Data CaptureTrailheaDX 2019 : Truly Asynchronous Apex Triggers using Change Data Capture
TrailheaDX 2019 : Truly Asynchronous Apex Triggers using Change Data CaptureJohn Brock
 
Around the World in 100 Days a Global Deployment Case Study
Around the World in 100 Days a Global Deployment Case StudyAround the World in 100 Days a Global Deployment Case Study
Around the World in 100 Days a Global Deployment Case Studydreamforce2006
 
Cutting Edge Mobile Development in the App Cloud
Cutting Edge Mobile Development in the App CloudCutting Edge Mobile Development in the App Cloud
Cutting Edge Mobile Development in the App CloudSalesforce Developers
 
Advanced Reporting and Dashboards for Executive Visibility
Advanced Reporting and Dashboards for Executive VisibilityAdvanced Reporting and Dashboards for Executive Visibility
Advanced Reporting and Dashboards for Executive Visibilitydreamforce2006
 
Conducting a Large Admin Team by Andrew Wainacht & Judith Shimer
Conducting a Large Admin Team by Andrew Wainacht & Judith ShimerConducting a Large Admin Team by Andrew Wainacht & Judith Shimer
Conducting a Large Admin Team by Andrew Wainacht & Judith ShimerSalesforce Admins
 
Event Driven Integrations
Event Driven IntegrationsEvent Driven Integrations
Event Driven IntegrationsDeepu Chacko
 
Navi Mumbai Salesforce DUG meetup on integration
Navi Mumbai Salesforce DUG meetup on integrationNavi Mumbai Salesforce DUG meetup on integration
Navi Mumbai Salesforce DUG meetup on integrationRakesh Gupta
 
Dallas user group February 20 2015
Dallas user group February 20 2015Dallas user group February 20 2015
Dallas user group February 20 2015J Mo
 
Df16 - Troubleshooting user access problems
Df16 - Troubleshooting user access problemsDf16 - Troubleshooting user access problems
Df16 - Troubleshooting user access problemsBuyan Thyagarajan
 
Best Practices For Re-Energizing Your Rollout
Best Practices For Re-Energizing Your RolloutBest Practices For Re-Energizing Your Rollout
Best Practices For Re-Energizing Your Rolloutdreamforce2006
 

Similaire à Wielding Workflow (20)

Enterprise Integration - Solution Patterns From the Field
Enterprise Integration - Solution Patterns From the FieldEnterprise Integration - Solution Patterns From the Field
Enterprise Integration - Solution Patterns From the Field
 
Aen003 Rajaram 091707
Aen003 Rajaram 091707Aen003 Rajaram 091707
Aen003 Rajaram 091707
 
Introducing salesforce shield - Paris Salesforce Developer Group - Oct 15
Introducing salesforce shield - Paris Salesforce Developer Group - Oct 15Introducing salesforce shield - Paris Salesforce Developer Group - Oct 15
Introducing salesforce shield - Paris Salesforce Developer Group - Oct 15
 
Next-Generation Native Apps
Next-Generation Native AppsNext-Generation Native Apps
Next-Generation Native Apps
 
Meet Salesforce.com, Your New Employee: Automating Business Processes in the ...
Meet Salesforce.com, Your New Employee: Automating Business Processes in the ...Meet Salesforce.com, Your New Employee: Automating Business Processes in the ...
Meet Salesforce.com, Your New Employee: Automating Business Processes in the ...
 
Meet Salesforce, Your New Employee
Meet Salesforce, Your New EmployeeMeet Salesforce, Your New Employee
Meet Salesforce, Your New Employee
 
Inside the Enterprise Case Studies of Customer Apps
Inside the Enterprise Case Studies of Customer AppsInside the Enterprise Case Studies of Customer Apps
Inside the Enterprise Case Studies of Customer Apps
 
Environment & Release Management
Environment & Release ManagementEnvironment & Release Management
Environment & Release Management
 
TrailheaDX 2019 : Truly Asynchronous Apex Triggers using Change Data Capture
TrailheaDX 2019 : Truly Asynchronous Apex Triggers using Change Data CaptureTrailheaDX 2019 : Truly Asynchronous Apex Triggers using Change Data Capture
TrailheaDX 2019 : Truly Asynchronous Apex Triggers using Change Data Capture
 
Around the World in 100 Days a Global Deployment Case Study
Around the World in 100 Days a Global Deployment Case StudyAround the World in 100 Days a Global Deployment Case Study
Around the World in 100 Days a Global Deployment Case Study
 
Cutting Edge Mobile Development in the App Cloud
Cutting Edge Mobile Development in the App CloudCutting Edge Mobile Development in the App Cloud
Cutting Edge Mobile Development in the App Cloud
 
Advanced Reporting and Dashboards for Executive Visibility
Advanced Reporting and Dashboards for Executive VisibilityAdvanced Reporting and Dashboards for Executive Visibility
Advanced Reporting and Dashboards for Executive Visibility
 
Conducting a Large Admin Team by Andrew Wainacht & Judith Shimer
Conducting a Large Admin Team by Andrew Wainacht & Judith ShimerConducting a Large Admin Team by Andrew Wainacht & Judith Shimer
Conducting a Large Admin Team by Andrew Wainacht & Judith Shimer
 
Event Driven Integrations
Event Driven IntegrationsEvent Driven Integrations
Event Driven Integrations
 
Navi Mumbai Salesforce DUG meetup on integration
Navi Mumbai Salesforce DUG meetup on integrationNavi Mumbai Salesforce DUG meetup on integration
Navi Mumbai Salesforce DUG meetup on integration
 
Dallas user group February 20 2015
Dallas user group February 20 2015Dallas user group February 20 2015
Dallas user group February 20 2015
 
Introduction to Force.com
Introduction to Force.comIntroduction to Force.com
Introduction to Force.com
 
Df16 - Troubleshooting user access problems
Df16 - Troubleshooting user access problemsDf16 - Troubleshooting user access problems
Df16 - Troubleshooting user access problems
 
Best Practices For Re-Energizing Your Rollout
Best Practices For Re-Energizing Your RolloutBest Practices For Re-Energizing Your Rollout
Best Practices For Re-Energizing Your Rollout
 
Coding in the App Cloud
Coding in the App CloudCoding in the App Cloud
Coding in the App Cloud
 

Plus de dreamforce2006

Why We Switched to Unlimited Edition Customer Panel
Why We Switched to Unlimited Edition Customer PanelWhy We Switched to Unlimited Edition Customer Panel
Why We Switched to Unlimited Edition Customer Paneldreamforce2006
 
Trusted Reliability & Performance with the AppExchange Platform
Trusted Reliability & Performance with the AppExchange PlatformTrusted Reliability & Performance with the AppExchange Platform
Trusted Reliability & Performance with the AppExchange Platformdreamforce2006
 
Top Ten AppExchange Apps for Professional Edition
Top Ten AppExchange Apps for Professional EditionTop Ten AppExchange Apps for Professional Edition
Top Ten AppExchange Apps for Professional Editiondreamforce2006
 
Tools to Increase Partner Adoption and Loyalty
Tools to Increase Partner Adoption and LoyaltyTools to Increase Partner Adoption and Loyalty
Tools to Increase Partner Adoption and Loyaltydreamforce2006
 
The Mystery Is Solved Demystifying Integrations
The Mystery Is Solved Demystifying IntegrationsThe Mystery Is Solved Demystifying Integrations
The Mystery Is Solved Demystifying Integrationsdreamforce2006
 
Territory Management Made Simple
Territory Management Made SimpleTerritory Management Made Simple
Territory Management Made Simpledreamforce2006
 
Success with Salesforce for Capital Markets
Success with Salesforce for Capital MarketsSuccess with Salesforce for Capital Markets
Success with Salesforce for Capital Marketsdreamforce2006
 
Sales ROI Benchmarking
Sales ROI BenchmarkingSales ROI Benchmarking
Sales ROI Benchmarkingdreamforce2006
 
Packaging It Up Latest Enhancements for App Distribution
Packaging It Up Latest Enhancements for App DistributionPackaging It Up Latest Enhancements for App Distribution
Packaging It Up Latest Enhancements for App Distributiondreamforce2006
 
Open It, Read It, Buy It Email Marketing with the AppExchange
Open It, Read It, Buy It Email Marketing with the AppExchangeOpen It, Read It, Buy It Email Marketing with the AppExchange
Open It, Read It, Buy It Email Marketing with the AppExchangedreamforce2006
 
Meet the Product Managers
Meet the Product ManagersMeet the Product Managers
Meet the Product Managersdreamforce2006
 
Manage What You Measure Lessons from Dashboard Pros
Manage What You Measure Lessons from Dashboard ProsManage What You Measure Lessons from Dashboard Pros
Manage What You Measure Lessons from Dashboard Prosdreamforce2006
 
Leveraging Your Customer Service Function to Drive Sales
Leveraging Your Customer Service Function to Drive SalesLeveraging Your Customer Service Function to Drive Sales
Leveraging Your Customer Service Function to Drive Salesdreamforce2006
 
IT Success with the Winter '07 Release Platform Overview
IT Success with the Winter '07 Release Platform OverviewIT Success with the Winter '07 Release Platform Overview
IT Success with the Winter '07 Release Platform Overviewdreamforce2006
 
Introducing Analytics Mash-ups
Introducing Analytics Mash-upsIntroducing Analytics Mash-ups
Introducing Analytics Mash-upsdreamforce2006
 
Integrating Salesforce and QuickBooks
Integrating Salesforce and QuickBooksIntegrating Salesforce and QuickBooks
Integrating Salesforce and QuickBooksdreamforce2006
 
Instant Stardom How to Build Executive Dashboards
Instant Stardom How to Build Executive DashboardsInstant Stardom How to Build Executive Dashboards
Instant Stardom How to Build Executive Dashboardsdreamforce2006
 
Information Peer Pressure
Information Peer PressureInformation Peer Pressure
Information Peer Pressuredreamforce2006
 
Improving Productivity with Outlook and Notes Integration
Improving Productivity with Outlook and Notes IntegrationImproving Productivity with Outlook and Notes Integration
Improving Productivity with Outlook and Notes Integrationdreamforce2006
 

Plus de dreamforce2006 (19)

Why We Switched to Unlimited Edition Customer Panel
Why We Switched to Unlimited Edition Customer PanelWhy We Switched to Unlimited Edition Customer Panel
Why We Switched to Unlimited Edition Customer Panel
 
Trusted Reliability & Performance with the AppExchange Platform
Trusted Reliability & Performance with the AppExchange PlatformTrusted Reliability & Performance with the AppExchange Platform
Trusted Reliability & Performance with the AppExchange Platform
 
Top Ten AppExchange Apps for Professional Edition
Top Ten AppExchange Apps for Professional EditionTop Ten AppExchange Apps for Professional Edition
Top Ten AppExchange Apps for Professional Edition
 
Tools to Increase Partner Adoption and Loyalty
Tools to Increase Partner Adoption and LoyaltyTools to Increase Partner Adoption and Loyalty
Tools to Increase Partner Adoption and Loyalty
 
The Mystery Is Solved Demystifying Integrations
The Mystery Is Solved Demystifying IntegrationsThe Mystery Is Solved Demystifying Integrations
The Mystery Is Solved Demystifying Integrations
 
Territory Management Made Simple
Territory Management Made SimpleTerritory Management Made Simple
Territory Management Made Simple
 
Success with Salesforce for Capital Markets
Success with Salesforce for Capital MarketsSuccess with Salesforce for Capital Markets
Success with Salesforce for Capital Markets
 
Sales ROI Benchmarking
Sales ROI BenchmarkingSales ROI Benchmarking
Sales ROI Benchmarking
 
Packaging It Up Latest Enhancements for App Distribution
Packaging It Up Latest Enhancements for App DistributionPackaging It Up Latest Enhancements for App Distribution
Packaging It Up Latest Enhancements for App Distribution
 
Open It, Read It, Buy It Email Marketing with the AppExchange
Open It, Read It, Buy It Email Marketing with the AppExchangeOpen It, Read It, Buy It Email Marketing with the AppExchange
Open It, Read It, Buy It Email Marketing with the AppExchange
 
Meet the Product Managers
Meet the Product ManagersMeet the Product Managers
Meet the Product Managers
 
Manage What You Measure Lessons from Dashboard Pros
Manage What You Measure Lessons from Dashboard ProsManage What You Measure Lessons from Dashboard Pros
Manage What You Measure Lessons from Dashboard Pros
 
Leveraging Your Customer Service Function to Drive Sales
Leveraging Your Customer Service Function to Drive SalesLeveraging Your Customer Service Function to Drive Sales
Leveraging Your Customer Service Function to Drive Sales
 
IT Success with the Winter '07 Release Platform Overview
IT Success with the Winter '07 Release Platform OverviewIT Success with the Winter '07 Release Platform Overview
IT Success with the Winter '07 Release Platform Overview
 
Introducing Analytics Mash-ups
Introducing Analytics Mash-upsIntroducing Analytics Mash-ups
Introducing Analytics Mash-ups
 
Integrating Salesforce and QuickBooks
Integrating Salesforce and QuickBooksIntegrating Salesforce and QuickBooks
Integrating Salesforce and QuickBooks
 
Instant Stardom How to Build Executive Dashboards
Instant Stardom How to Build Executive DashboardsInstant Stardom How to Build Executive Dashboards
Instant Stardom How to Build Executive Dashboards
 
Information Peer Pressure
Information Peer PressureInformation Peer Pressure
Information Peer Pressure
 
Improving Productivity with Outlook and Notes Integration
Improving Productivity with Outlook and Notes IntegrationImproving Productivity with Outlook and Notes Integration
Improving Productivity with Outlook and Notes Integration
 

Dernier

2024 Q1 Crypto Industry Report | CoinGecko
2024 Q1 Crypto Industry Report | CoinGecko2024 Q1 Crypto Industry Report | CoinGecko
2024 Q1 Crypto Industry Report | CoinGeckoCoinGecko
 
Call Girls Near Delhi Pride Hotel, New Delhi|9873777170
Call Girls Near Delhi Pride Hotel, New Delhi|9873777170Call Girls Near Delhi Pride Hotel, New Delhi|9873777170
Call Girls Near Delhi Pride Hotel, New Delhi|9873777170Sonam Pathan
 
Amil Baba In Pakistan amil baba in Lahore amil baba in Islamabad amil baba in...
Amil Baba In Pakistan amil baba in Lahore amil baba in Islamabad amil baba in...Amil Baba In Pakistan amil baba in Lahore amil baba in Islamabad amil baba in...
Amil Baba In Pakistan amil baba in Lahore amil baba in Islamabad amil baba in...amilabibi1
 
(办理学位证)美国加州州立大学东湾分校毕业证成绩单原版一比一
(办理学位证)美国加州州立大学东湾分校毕业证成绩单原版一比一(办理学位证)美国加州州立大学东湾分校毕业证成绩单原版一比一
(办理学位证)美国加州州立大学东湾分校毕业证成绩单原版一比一S SDS
 
《加拿大本地办假证-寻找办理Dalhousie毕业证和达尔豪斯大学毕业证书的中介代理》
《加拿大本地办假证-寻找办理Dalhousie毕业证和达尔豪斯大学毕业证书的中介代理》《加拿大本地办假证-寻找办理Dalhousie毕业证和达尔豪斯大学毕业证书的中介代理》
《加拿大本地办假证-寻找办理Dalhousie毕业证和达尔豪斯大学毕业证书的中介代理》rnrncn29
 
原版1:1复刻堪萨斯大学毕业证KU毕业证留信学历认证
原版1:1复刻堪萨斯大学毕业证KU毕业证留信学历认证原版1:1复刻堪萨斯大学毕业证KU毕业证留信学历认证
原版1:1复刻堪萨斯大学毕业证KU毕业证留信学历认证jdkhjh
 
Managing Finances in a Small Business (yes).pdf
Managing Finances  in a Small Business (yes).pdfManaging Finances  in a Small Business (yes).pdf
Managing Finances in a Small Business (yes).pdfmar yame
 
SBP-Market-Operations and market managment
SBP-Market-Operations and market managmentSBP-Market-Operations and market managment
SBP-Market-Operations and market managmentfactical
 
Quantitative Analysis of Retail Sector Companies
Quantitative Analysis of Retail Sector CompaniesQuantitative Analysis of Retail Sector Companies
Quantitative Analysis of Retail Sector Companiesprashantbhati354
 
Stock Market Brief Deck for "this does not happen often".pdf
Stock Market Brief Deck for "this does not happen often".pdfStock Market Brief Deck for "this does not happen often".pdf
Stock Market Brief Deck for "this does not happen often".pdfMichael Silva
 
Economic Risk Factor Update: April 2024 [SlideShare]
Economic Risk Factor Update: April 2024 [SlideShare]Economic Risk Factor Update: April 2024 [SlideShare]
Economic Risk Factor Update: April 2024 [SlideShare]Commonwealth
 
NO1 WorldWide Love marriage specialist baba ji Amil Baba Kala ilam powerful v...
NO1 WorldWide Love marriage specialist baba ji Amil Baba Kala ilam powerful v...NO1 WorldWide Love marriage specialist baba ji Amil Baba Kala ilam powerful v...
NO1 WorldWide Love marriage specialist baba ji Amil Baba Kala ilam powerful v...Amil baba
 
The Core Functions of the Bangko Sentral ng Pilipinas
The Core Functions of the Bangko Sentral ng PilipinasThe Core Functions of the Bangko Sentral ng Pilipinas
The Core Functions of the Bangko Sentral ng PilipinasCherylouCamus
 
PMFBY , Pradhan Mantri Fasal bima yojna
PMFBY , Pradhan Mantri  Fasal bima yojnaPMFBY , Pradhan Mantri  Fasal bima yojna
PMFBY , Pradhan Mantri Fasal bima yojnaDharmendra Kumar
 
fca-bsps-decision-letter-redacted (1).pdf
fca-bsps-decision-letter-redacted (1).pdffca-bsps-decision-letter-redacted (1).pdf
fca-bsps-decision-letter-redacted (1).pdfHenry Tapper
 
NO1 Certified Amil Baba In Lahore Kala Jadu In Lahore Best Amil In Lahore Ami...
NO1 Certified Amil Baba In Lahore Kala Jadu In Lahore Best Amil In Lahore Ami...NO1 Certified Amil Baba In Lahore Kala Jadu In Lahore Best Amil In Lahore Ami...
NO1 Certified Amil Baba In Lahore Kala Jadu In Lahore Best Amil In Lahore Ami...Amil baba
 
原版1:1复刻温哥华岛大学毕业证Vancouver毕业证留信学历认证
原版1:1复刻温哥华岛大学毕业证Vancouver毕业证留信学历认证原版1:1复刻温哥华岛大学毕业证Vancouver毕业证留信学历认证
原版1:1复刻温哥华岛大学毕业证Vancouver毕业证留信学历认证rjrjkk
 
GOODSANDSERVICETAX IN INDIAN ECONOMY IMPACT
GOODSANDSERVICETAX IN INDIAN ECONOMY IMPACTGOODSANDSERVICETAX IN INDIAN ECONOMY IMPACT
GOODSANDSERVICETAX IN INDIAN ECONOMY IMPACTharshitverma1762
 

Dernier (20)

2024 Q1 Crypto Industry Report | CoinGecko
2024 Q1 Crypto Industry Report | CoinGecko2024 Q1 Crypto Industry Report | CoinGecko
2024 Q1 Crypto Industry Report | CoinGecko
 
Call Girls Near Delhi Pride Hotel, New Delhi|9873777170
Call Girls Near Delhi Pride Hotel, New Delhi|9873777170Call Girls Near Delhi Pride Hotel, New Delhi|9873777170
Call Girls Near Delhi Pride Hotel, New Delhi|9873777170
 
Q1 2024 Newsletter | Financial Synergies Wealth Advisors
Q1 2024 Newsletter | Financial Synergies Wealth AdvisorsQ1 2024 Newsletter | Financial Synergies Wealth Advisors
Q1 2024 Newsletter | Financial Synergies Wealth Advisors
 
Amil Baba In Pakistan amil baba in Lahore amil baba in Islamabad amil baba in...
Amil Baba In Pakistan amil baba in Lahore amil baba in Islamabad amil baba in...Amil Baba In Pakistan amil baba in Lahore amil baba in Islamabad amil baba in...
Amil Baba In Pakistan amil baba in Lahore amil baba in Islamabad amil baba in...
 
(办理学位证)美国加州州立大学东湾分校毕业证成绩单原版一比一
(办理学位证)美国加州州立大学东湾分校毕业证成绩单原版一比一(办理学位证)美国加州州立大学东湾分校毕业证成绩单原版一比一
(办理学位证)美国加州州立大学东湾分校毕业证成绩单原版一比一
 
Monthly Economic Monitoring of Ukraine No 231, April 2024
Monthly Economic Monitoring of Ukraine No 231, April 2024Monthly Economic Monitoring of Ukraine No 231, April 2024
Monthly Economic Monitoring of Ukraine No 231, April 2024
 
《加拿大本地办假证-寻找办理Dalhousie毕业证和达尔豪斯大学毕业证书的中介代理》
《加拿大本地办假证-寻找办理Dalhousie毕业证和达尔豪斯大学毕业证书的中介代理》《加拿大本地办假证-寻找办理Dalhousie毕业证和达尔豪斯大学毕业证书的中介代理》
《加拿大本地办假证-寻找办理Dalhousie毕业证和达尔豪斯大学毕业证书的中介代理》
 
原版1:1复刻堪萨斯大学毕业证KU毕业证留信学历认证
原版1:1复刻堪萨斯大学毕业证KU毕业证留信学历认证原版1:1复刻堪萨斯大学毕业证KU毕业证留信学历认证
原版1:1复刻堪萨斯大学毕业证KU毕业证留信学历认证
 
Managing Finances in a Small Business (yes).pdf
Managing Finances  in a Small Business (yes).pdfManaging Finances  in a Small Business (yes).pdf
Managing Finances in a Small Business (yes).pdf
 
SBP-Market-Operations and market managment
SBP-Market-Operations and market managmentSBP-Market-Operations and market managment
SBP-Market-Operations and market managment
 
Quantitative Analysis of Retail Sector Companies
Quantitative Analysis of Retail Sector CompaniesQuantitative Analysis of Retail Sector Companies
Quantitative Analysis of Retail Sector Companies
 
Stock Market Brief Deck for "this does not happen often".pdf
Stock Market Brief Deck for "this does not happen often".pdfStock Market Brief Deck for "this does not happen often".pdf
Stock Market Brief Deck for "this does not happen often".pdf
 
Economic Risk Factor Update: April 2024 [SlideShare]
Economic Risk Factor Update: April 2024 [SlideShare]Economic Risk Factor Update: April 2024 [SlideShare]
Economic Risk Factor Update: April 2024 [SlideShare]
 
NO1 WorldWide Love marriage specialist baba ji Amil Baba Kala ilam powerful v...
NO1 WorldWide Love marriage specialist baba ji Amil Baba Kala ilam powerful v...NO1 WorldWide Love marriage specialist baba ji Amil Baba Kala ilam powerful v...
NO1 WorldWide Love marriage specialist baba ji Amil Baba Kala ilam powerful v...
 
The Core Functions of the Bangko Sentral ng Pilipinas
The Core Functions of the Bangko Sentral ng PilipinasThe Core Functions of the Bangko Sentral ng Pilipinas
The Core Functions of the Bangko Sentral ng Pilipinas
 
PMFBY , Pradhan Mantri Fasal bima yojna
PMFBY , Pradhan Mantri  Fasal bima yojnaPMFBY , Pradhan Mantri  Fasal bima yojna
PMFBY , Pradhan Mantri Fasal bima yojna
 
fca-bsps-decision-letter-redacted (1).pdf
fca-bsps-decision-letter-redacted (1).pdffca-bsps-decision-letter-redacted (1).pdf
fca-bsps-decision-letter-redacted (1).pdf
 
NO1 Certified Amil Baba In Lahore Kala Jadu In Lahore Best Amil In Lahore Ami...
NO1 Certified Amil Baba In Lahore Kala Jadu In Lahore Best Amil In Lahore Ami...NO1 Certified Amil Baba In Lahore Kala Jadu In Lahore Best Amil In Lahore Ami...
NO1 Certified Amil Baba In Lahore Kala Jadu In Lahore Best Amil In Lahore Ami...
 
原版1:1复刻温哥华岛大学毕业证Vancouver毕业证留信学历认证
原版1:1复刻温哥华岛大学毕业证Vancouver毕业证留信学历认证原版1:1复刻温哥华岛大学毕业证Vancouver毕业证留信学历认证
原版1:1复刻温哥华岛大学毕业证Vancouver毕业证留信学历认证
 
GOODSANDSERVICETAX IN INDIAN ECONOMY IMPACT
GOODSANDSERVICETAX IN INDIAN ECONOMY IMPACTGOODSANDSERVICETAX IN INDIAN ECONOMY IMPACT
GOODSANDSERVICETAX IN INDIAN ECONOMY IMPACT
 

Wielding Workflow

  • 1. Wielding Workflow Varadarajan Rajaram, Salesforce.com Track: Advanced AppExchange Developers
  • 2.
  • 3.
  • 4.
  • 5.
  • 6.
  • 7.
  • 9.
  • 10.
  • 11.
  • 12.
  • 15.
  • 16.
  • 17.
  • 18.
  • 19.
  • 20. PTO Request – The Finished Product
  • 21.
  • 22. Varadarajan Rajaram Sr. Product Manager QUESTION & ANSWER Salesforce.com Steve Tamm Technical Architect Salesforce.com
  • 23.
  • 24.
  • 25. Approvals API - ProcessRequest Name Type Description objectId ID For submitting an item for Approval, can be the ID of any record with approval processes defined. workitemId ID For submitting an item for processing after approval, the Id of the ProcessInstanceWorkitem. action String For approving or rejecting a workitem for processing, a string representing the kind of action to take: Approve, Reject, or Remove. nextActorIds String[] If the approval request requires the user to select the approver, specify the user ID of the next approver here comments String Any comments to be stored with the approval action in the approval history
  • 26. Approvals API – ProcessResult Name Type Description entityId ID Object being processed Errors Error[] Set of errors instanceId ID The ID of the ProcessInstance InstanceStatus String The status of the current process instance: “Approved,” “Rejected,” “Removed,” “Started,” or “Pending” newWorkitemIds ID[] The IDs of the newly created approval requests, if any Success boolean “ True” if the approval completed successfully
  • 27. Sample Code public ProcessResult[] doProcessSample(String comments, String id, String[] approverIds) throws ApiFault {         ProcessResult[] processResults;         ProcessSubmitRequest request = new ProcessSubmitRequest();         request.setComments(comments);         request.setNextApproverIds(approverIds);         request.setObjectId(id);         try {             PartnerConnection connection = Connector.newConnection(xconfig);             //calling process on the approval submission             processResults = connection.process(new ProcessSubmitRequest[]{request});             for (ProcessResult processResult : processResults) {                     if(processResult.getSuccess()){                         if(xconfig.isTraceMessage()){                             log.debug("Approval submitted for: " + id + ", approverIds: " + approverIds.toString() + " successful.");                             log.debug("Process Instance Status: " + processResult.getInstanceStatus());                          }                     } else{                         log.error("Approval submitted for: " + id + ", approverIds: " + approverIds.toString() + " FAILED.");                         log.error("ERRORS: " + processResult.getErrors().toString());                      }             }         } catch (ConnectionException ce) {             ApiFault fault = getApiFault(ce);             ce.printStackTrace();             throw fault;         }         return processResults;     }
  • 28.
  • 29.