SlideShare uma empresa Scribd logo
1 de 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:

Mais conteúdo relacionado

Mais procurados

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
dreamforce2006
 
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
dreamforce2006
 
Lower TCO and Higher ROI
Lower TCO and Higher ROILower TCO and Higher ROI
Lower TCO and Higher ROI
dreamforce2006
 
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
dreamforce2006
 
Three Use Cases for Service & Support
Three Use Cases for Service & SupportThree Use Cases for Service & Support
Three Use Cases for Service & Support
dreamforce2006
 
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
dreamforce2006
 
How Salesforce.com Uses Service & Support
How Salesforce.com Uses Service & SupportHow Salesforce.com Uses Service & Support
How Salesforce.com Uses Service & Support
dreamforce2006
 
Tips & Tricks for Building Advanced Workflow
Tips & Tricks for Building Advanced WorkflowTips & Tricks for Building Advanced Workflow
Tips & Tricks for Building Advanced Workflow
dreamforce2006
 
How to Make Your Administrator Hat
How to Make Your Administrator HatHow to Make Your Administrator Hat
How to Make Your Administrator Hat
dreamforce2006
 
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
dreamforce2006
 
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
dreamforce2006
 
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
dreamforce2006
 
Next Generation Web Services
Next Generation Web ServicesNext Generation Web Services
Next Generation Web Services
dreamforce2006
 
Salesforce PRM, Partner Edition Roadmap
Salesforce PRM, Partner Edition RoadmapSalesforce PRM, Partner Edition Roadmap
Salesforce PRM, Partner Edition Roadmap
dreamforce2006
 
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
dreamforce2006
 
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
dreamforce2006
 
Demystifying S-Controls and AJAX
Demystifying S-Controls and AJAXDemystifying S-Controls and AJAX
Demystifying S-Controls and AJAX
dreamforce2006
 
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
dreamforce2006
 
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
dreamforce2006
 

Mais procurados (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
 

Semelhante a Wielding Workflow

Next-Generation Native Apps
Next-Generation Native AppsNext-Generation Native Apps
Next-Generation Native Apps
dreamforce2006
 
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 Employee
dreamforce2006
 
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
dreamforce2006
 
Environment & Release Management
Environment & Release ManagementEnvironment & Release Management
Environment & Release Management
elliando dias
 
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
dreamforce2006
 
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
dreamforce2006
 
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
dreamforce2006
 

Semelhante a 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
 

Mais 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 Panel
dreamforce2006
 
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
dreamforce2006
 
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
dreamforce2006
 
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
dreamforce2006
 
The Mystery Is Solved Demystifying Integrations
The Mystery Is Solved Demystifying IntegrationsThe Mystery Is Solved Demystifying Integrations
The Mystery Is Solved Demystifying Integrations
dreamforce2006
 
Territory Management Made Simple
Territory Management Made SimpleTerritory Management Made Simple
Territory Management Made Simple
dreamforce2006
 
Success with Salesforce for Capital Markets
Success with Salesforce for Capital MarketsSuccess with Salesforce for Capital Markets
Success with Salesforce for Capital Markets
dreamforce2006
 
Sales ROI Benchmarking
Sales ROI BenchmarkingSales ROI Benchmarking
Sales ROI Benchmarking
dreamforce2006
 
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
dreamforce2006
 
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
dreamforce2006
 
Meet the Product Managers
Meet the Product ManagersMeet the Product Managers
Meet the Product Managers
dreamforce2006
 
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
dreamforce2006
 
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
dreamforce2006
 
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
dreamforce2006
 
Introducing Analytics Mash-ups
Introducing Analytics Mash-upsIntroducing Analytics Mash-ups
Introducing Analytics Mash-ups
dreamforce2006
 
Integrating Salesforce and QuickBooks
Integrating Salesforce and QuickBooksIntegrating Salesforce and QuickBooks
Integrating Salesforce and QuickBooks
dreamforce2006
 
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
dreamforce2006
 
Information Peer Pressure
Information Peer PressureInformation Peer Pressure
Information Peer Pressure
dreamforce2006
 
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
dreamforce2006
 

Mais 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
 

Último

VIP Kalyan Call Girls 🌐 9920725232 🌐 Make Your Dreams Come True With Mumbai E...
VIP Kalyan Call Girls 🌐 9920725232 🌐 Make Your Dreams Come True With Mumbai E...VIP Kalyan Call Girls 🌐 9920725232 🌐 Make Your Dreams Come True With Mumbai E...
VIP Kalyan Call Girls 🌐 9920725232 🌐 Make Your Dreams Come True With Mumbai E...
roshnidevijkn ( Why You Choose Us? ) Escorts
 
CBD Belapur Expensive Housewife Call Girls Number-📞📞9833754194 No 1 Vipp HIgh...
CBD Belapur Expensive Housewife Call Girls Number-📞📞9833754194 No 1 Vipp HIgh...CBD Belapur Expensive Housewife Call Girls Number-📞📞9833754194 No 1 Vipp HIgh...
CBD Belapur Expensive Housewife Call Girls Number-📞📞9833754194 No 1 Vipp HIgh...
priyasharma62062
 
VIP Independent Call Girls in Mira Bhayandar 🌹 9920725232 ( Call Me ) Mumbai ...
VIP Independent Call Girls in Mira Bhayandar 🌹 9920725232 ( Call Me ) Mumbai ...VIP Independent Call Girls in Mira Bhayandar 🌹 9920725232 ( Call Me ) Mumbai ...
VIP Independent Call Girls in Mira Bhayandar 🌹 9920725232 ( Call Me ) Mumbai ...
dipikadinghjn ( Why You Choose Us? ) Escorts
 
VIP Call Girl Service Andheri West ⚡ 9920725232 What It Takes To Be The Best ...
VIP Call Girl Service Andheri West ⚡ 9920725232 What It Takes To Be The Best ...VIP Call Girl Service Andheri West ⚡ 9920725232 What It Takes To Be The Best ...
VIP Call Girl Service Andheri West ⚡ 9920725232 What It Takes To Be The Best ...
dipikadinghjn ( Why You Choose Us? ) Escorts
 
From Luxury Escort Service Kamathipura : 9352852248 Make on-demand Arrangemen...
From Luxury Escort Service Kamathipura : 9352852248 Make on-demand Arrangemen...From Luxury Escort Service Kamathipura : 9352852248 Make on-demand Arrangemen...
From Luxury Escort Service Kamathipura : 9352852248 Make on-demand Arrangemen...
From Luxury Escort : 9352852248 Make on-demand Arrangements Near yOU
 
Best VIP Call Girls Morni Hills Just Click Me 6367492432
Best VIP Call Girls Morni Hills Just Click Me 6367492432Best VIP Call Girls Morni Hills Just Click Me 6367492432
Best VIP Call Girls Morni Hills Just Click Me 6367492432
motiram463
 
Call Girls Banaswadi Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...
Call Girls Banaswadi Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...Call Girls Banaswadi Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...
Call Girls Banaswadi Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...
amitlee9823
 

Último (20)

(INDIRA) Call Girl Mumbai Call Now 8250077686 Mumbai Escorts 24x7
(INDIRA) Call Girl Mumbai Call Now 8250077686 Mumbai Escorts 24x7(INDIRA) Call Girl Mumbai Call Now 8250077686 Mumbai Escorts 24x7
(INDIRA) Call Girl Mumbai Call Now 8250077686 Mumbai Escorts 24x7
 
cost-volume-profit analysis.ppt(managerial accounting).pptx
cost-volume-profit analysis.ppt(managerial accounting).pptxcost-volume-profit analysis.ppt(managerial accounting).pptx
cost-volume-profit analysis.ppt(managerial accounting).pptx
 
VIP Kalyan Call Girls 🌐 9920725232 🌐 Make Your Dreams Come True With Mumbai E...
VIP Kalyan Call Girls 🌐 9920725232 🌐 Make Your Dreams Come True With Mumbai E...VIP Kalyan Call Girls 🌐 9920725232 🌐 Make Your Dreams Come True With Mumbai E...
VIP Kalyan Call Girls 🌐 9920725232 🌐 Make Your Dreams Come True With Mumbai E...
 
Vasai-Virar Fantastic Call Girls-9833754194-Call Girls MUmbai
Vasai-Virar Fantastic Call Girls-9833754194-Call Girls MUmbaiVasai-Virar Fantastic Call Girls-9833754194-Call Girls MUmbai
Vasai-Virar Fantastic Call Girls-9833754194-Call Girls MUmbai
 
Toronto dominion bank investor presentation.pdf
Toronto dominion bank investor presentation.pdfToronto dominion bank investor presentation.pdf
Toronto dominion bank investor presentation.pdf
 
Stock Market Brief Deck (Under Pressure).pdf
Stock Market Brief Deck (Under Pressure).pdfStock Market Brief Deck (Under Pressure).pdf
Stock Market Brief Deck (Under Pressure).pdf
 
CBD Belapur Expensive Housewife Call Girls Number-📞📞9833754194 No 1 Vipp HIgh...
CBD Belapur Expensive Housewife Call Girls Number-📞📞9833754194 No 1 Vipp HIgh...CBD Belapur Expensive Housewife Call Girls Number-📞📞9833754194 No 1 Vipp HIgh...
CBD Belapur Expensive Housewife Call Girls Number-📞📞9833754194 No 1 Vipp HIgh...
 
Diva-Thane European Call Girls Number-9833754194-Diva Busty Professional Call...
Diva-Thane European Call Girls Number-9833754194-Diva Busty Professional Call...Diva-Thane European Call Girls Number-9833754194-Diva Busty Professional Call...
Diva-Thane European Call Girls Number-9833754194-Diva Busty Professional Call...
 
(Vedika) Low Rate Call Girls in Pune Call Now 8250077686 Pune Escorts 24x7
(Vedika) Low Rate Call Girls in Pune Call Now 8250077686 Pune Escorts 24x7(Vedika) Low Rate Call Girls in Pune Call Now 8250077686 Pune Escorts 24x7
(Vedika) Low Rate Call Girls in Pune Call Now 8250077686 Pune Escorts 24x7
 
VIP Independent Call Girls in Mira Bhayandar 🌹 9920725232 ( Call Me ) Mumbai ...
VIP Independent Call Girls in Mira Bhayandar 🌹 9920725232 ( Call Me ) Mumbai ...VIP Independent Call Girls in Mira Bhayandar 🌹 9920725232 ( Call Me ) Mumbai ...
VIP Independent Call Girls in Mira Bhayandar 🌹 9920725232 ( Call Me ) Mumbai ...
 
Mira Road Memorable Call Grls Number-9833754194-Bhayandar Speciallty Call Gir...
Mira Road Memorable Call Grls Number-9833754194-Bhayandar Speciallty Call Gir...Mira Road Memorable Call Grls Number-9833754194-Bhayandar Speciallty Call Gir...
Mira Road Memorable Call Grls Number-9833754194-Bhayandar Speciallty Call Gir...
 
Call Girls Service Pune ₹7.5k Pick Up & Drop With Cash Payment 9352852248 Cal...
Call Girls Service Pune ₹7.5k Pick Up & Drop With Cash Payment 9352852248 Cal...Call Girls Service Pune ₹7.5k Pick Up & Drop With Cash Payment 9352852248 Cal...
Call Girls Service Pune ₹7.5k Pick Up & Drop With Cash Payment 9352852248 Cal...
 
VIP Call Girl Service Andheri West ⚡ 9920725232 What It Takes To Be The Best ...
VIP Call Girl Service Andheri West ⚡ 9920725232 What It Takes To Be The Best ...VIP Call Girl Service Andheri West ⚡ 9920725232 What It Takes To Be The Best ...
VIP Call Girl Service Andheri West ⚡ 9920725232 What It Takes To Be The Best ...
 
From Luxury Escort Service Kamathipura : 9352852248 Make on-demand Arrangemen...
From Luxury Escort Service Kamathipura : 9352852248 Make on-demand Arrangemen...From Luxury Escort Service Kamathipura : 9352852248 Make on-demand Arrangemen...
From Luxury Escort Service Kamathipura : 9352852248 Make on-demand Arrangemen...
 
Cybersecurity Threats in Financial Services Protection.pptx
Cybersecurity Threats in  Financial Services Protection.pptxCybersecurity Threats in  Financial Services Protection.pptx
Cybersecurity Threats in Financial Services Protection.pptx
 
Best VIP Call Girls Morni Hills Just Click Me 6367492432
Best VIP Call Girls Morni Hills Just Click Me 6367492432Best VIP Call Girls Morni Hills Just Click Me 6367492432
Best VIP Call Girls Morni Hills Just Click Me 6367492432
 
20240419-SMC-submission-Annual-Superannuation-Performance-Test-–-design-optio...
20240419-SMC-submission-Annual-Superannuation-Performance-Test-–-design-optio...20240419-SMC-submission-Annual-Superannuation-Performance-Test-–-design-optio...
20240419-SMC-submission-Annual-Superannuation-Performance-Test-–-design-optio...
 
Call Girls Banaswadi Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...
Call Girls Banaswadi Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...Call Girls Banaswadi Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...
Call Girls Banaswadi Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...
 
Kopar Khairane Russian Call Girls Number-9833754194-Navi Mumbai Fantastic Unl...
Kopar Khairane Russian Call Girls Number-9833754194-Navi Mumbai Fantastic Unl...Kopar Khairane Russian Call Girls Number-9833754194-Navi Mumbai Fantastic Unl...
Kopar Khairane Russian Call Girls Number-9833754194-Navi Mumbai Fantastic Unl...
 
falcon-invoice-discounting-unlocking-prime-investment-opportunities
falcon-invoice-discounting-unlocking-prime-investment-opportunitiesfalcon-invoice-discounting-unlocking-prime-investment-opportunities
falcon-invoice-discounting-unlocking-prime-investment-opportunities
 

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.