Look Ma, No Hands! Automated Processes

Slides:



Advertisements
Similar presentations
Setup MOC Auto Reports The MOC Auto Reports provides a method to notify people about the status of MOCs. In some jurisdictions, this step is required.
Advertisements

Software Architecture company logo Company Address and Web Address.
OnBase E-Forms and Workflow
Request Material Information Use Case Item as created in Optiva. Supplier information request(s) can happen at any time. The same process works for Optiva.
1 of 6 This document is for informational purposes only. MICROSOFT MAKES NO WARRANTIES, EXPRESS OR IMPLIED, IN THIS DOCUMENT. © 2007 Microsoft Corporation.
ShelterPoint™ Data-Entry Workflows. ShelterPoint v5.2.3.
ECHECK REQUEST APPROVER GUIDE Updated 08/10/2013https://enet.miami.edu.
Welcome Property Managers & Guests. Shhh!!! Just to remind you that Resort Tax is confidential information and can not be shared. The information in this.
PS 9.2 UPGRADE Purchasing 1 OUHSC - PeopleSoft Financials Upgrade May 2014.
PestPac Software. Leads The Leads Module allows you to track all of your pending sales for your company from the first contact to the close. By the end.
Using Workflow With Dataforms Tim Borntreger, Director of Client Services.
SharePoint Workflow Prepared By: Eng. Rasha Farouk.
Collaborate. Coordinate. Evaluate. Connecting Communities > Demonstrating Outcomes ™ / I&R Housing Youth & Family Services Older Adult Services ShelterPoint™
LOAN RADAR Media Center, LLC. Keep your team on the same page Update your in-process loans with loan status.
HTBN Batches These slides are intended as a starting point for further discussion of how eTime might be extended to allow easier processing of HTBN data.
Please wait, Our presentation will be starting soon. Use Alt+Tab key to go to other applications while the presentation is running. Use Esc key to stop.
eCHECK Request Approver Guide
SCC P2P – Collaboration Made Easy Contract Management training
Travel Reimbursement -step by step-
Compatible with the latest browsers; Chrome, Safari, Firefox, Opera and Internet Explorer 9 and above.
Managing your Candidate List: Temporary Staffing
Core LIMS Training: Project Management
Start working in Navigate the system Search data Enter data
Update your Company Profile on TheYachtMarket
Inventory Levels.
Talentlink Configuration exercise
Creating Custom Reports, Macros, and Switchboards
Using Item Attributes in a Make-to-Order Environment
Landpower Project Zero Harm Learning Series Module:. #7a Module Title:
Microsoft Outlook By: Phuong Nguyen.
Travel Authorization -step by step-
Receiving and Handling
IPOM and E-Booking.
SUBMITTING A PAYMENT REQUEST FORM
Getting Started with Vendor Pay Requests
Program Management Portal (PgMP): What’s New in Release 16.1
Microsoft Excel 2003 Illustrated Complete
DrayWatch Training November 2009.
5 Advantages to Using a Template Project
Empower Your Spitfire Team
PMDirect - Getting Started
CREATING A JOB REQUISITION
1CapApp Company Setup Documentation
Time to Reach New Heights
This presentation document has been prepared by Vault Intelligence Limited (“Vault") and is intended for off line demonstration, presentation and educational.
Getting Started with Security
Change Orders Just Got a Whole Lot Easier
Time to Reach New Heights
Resource 2018 LG Permits Demo
Tips and Tricks (from Spitfire Development) Presenter: Stan York
Roles: Tips and Strategies
CREATING A JOB REQUISITION
Project Tiers (Projects and Subprojects / Related Projects)
Chlamydia Learning Collaborative
What Our Clients Do With Spitfire!
TIPS- Nominations.
Quick reference: entering a requisition In escape RECEIVING AN ITEM
Workflow Library The New Superhero
Time to Reach New Heights
EFF Factor Training Program
Standard Operating Procedure
Time to Reach New Heights
Designing Your Own Catalog Tab
Upload/Download Inventory
Upload/Download Inventory
Pulling It All Together (Quote to Budget to Billing)
Automation: Workflow Script & NextDocFlow
This presentation document has been prepared by Vault Intelligence Limited (“Vault") and is intended for off line demonstration, presentation and educational.
Contract Management Software 100% Cloud-Based ContraxAware provides you with a deep set of easy to use contract management features.
Presentation transcript:

Look Ma, No Hands! Automated Processes Client Webinar Series Time to Reach New Heights Look Ma, No Hands! Automated Processes December 14, 2017

ATC: DUE ATC: CATCH ATC: SEND ATC Workflow Scripts Are made up of ATC commands (little snippets of code) Can be triggered through routing or On Create or Save actions Can be used to do many tasks automatically Can be saved in the Workflow Script Library on the System Admin Dashboard More information about ATC Workflow Scripts can be found on support.spitfirepm.com ATC: ALERT ATC: SET ATC: CLOSE ATC: DUE ATC: CATCH ATC:ERRORIF ATC: SETHTML ATC: SEND ATC: TARGET

Fill in Fields Based on Who Creates

Fill in Fields Based on Who Creates

How It Was Done ATC: * The current user should auto fill the prepared by field ATC: SET ResponsibleParty = [DKEY_DocHeader_EditUser] ATC: * Put the first day of the next month into a variable ATC: DUE 0 DAY 1 INTO $StartOn ATC: IF UserHas WORK Purchaser ATC: * current user has the Purchaser responsibility, set appropriate defaults ATC: SET Subtype = PO ATC: SET Source = 10 ATC: * Calculate the end of a month about 60 days from now ATC: DUE 60 DAY 1 -1 INTO $EndOn ATC: * find the commitment date range ATC: TARGET DocDates WITH DocDateTypeKey = 'DED5B6FF-C747-4E96-AA4F-1A010E238214' ATC: * set the range to default to 2 months ATC: SET TargetRow.ActStart = $StartOn ATC: SET TargetRow.ActFinish = $EndOn ATC: ELSE ATC: * we assume a standard subcontract for all other users ATC: SET Subtype = FP ATC: SET DocRevision.CWRetention= 10 ATC: SET Source = 15 ATC: ENDIF

Fill in Names and Status

How It Was Done ATC: * While its better to have one script work with all projects, you can be very specific ATC: EXIT WHEN Project != GC011 ATC: * Here is a way to assign a person (by key) if they are not on the team ATC: SET SourceContact = f9e025b0-46c9-45e4-a42f-e117c284aad5 ATC: * this is Andy C. ATC: * Much better: use a team bookmark (works on any project) ATC: SET ResponsibleParty = [DKEY_SuperAddr_UserKey] ATC: * Set the status, save a click or two ATC: SET STATUS = O

Be Consistent with Fewer Keystrokes

How It Was Done ATC: SET $Update = 0 ATC: IF DocDate IsChanging ATC: SET Title = Report for [FddddbMMMbdcbyyyy_DocHeader_DocDate] ATC: SET $Update = 1 ATC: ENDIF ATC: IF DocRevision.csFlag IsChanging ATC: IF DocRevision.csFlag = 1 ATC: * reason is required for a lost day ATC: CATCH FOR 1 SHOW Adverse Condition is required for a lost day! ATC: ERRORIF WHEN Source = ? ATC: SET Title = [DocHeader_Title] (lost day) ATC: ALERT demo TITLE Another Lost Day!; See DFR for details.... ATC: IF $Update = 1 ATC: SAVE ATC: * The qAlias needs the latest values, so we forced the save above ATC: QUERY qFldRptInfo ATC: SET ExternalDocNo = [qFldRptInfo_WSummary] ATC: IF qFldRptInfo.WReadings != 0 ATC: SET DocRevision.RangeFrom = [qFldRptInfo_LowTemp] ATC: SET DocRevision.RangeThru = [qFldRptInfo_HiTemp] ATC: ENDIF ATC: SET DocRevision.csQty = [F0_qFldRptInfo_MTDLostDays] ATC: SET DocRevision.csNumber = [F0_qFldRptInfo_PTDLostDays]

Create Docs When Appropriate

Create Docs When Appropriate

How It Was Done ATC: EXIT WHEN Reason = ? ATC: * nothing to do here ATC: IF Reason IsChanging ATC: * Leave if already have attached incident CatType = '04988BC8-4298-4261-A7FD-2C98AA1B0D13'; ATC: EXIT HAS DocAttachedFile WITH MailRoute='R' AND FileName LIKE 'Incident*'; ATC: COPY [Safety Incident] * NEW; WITH Link ATC: SET Subtype = [DocHeader_Reason] ATC: SET Title = Incident on [FddddbMMMbdcbyyyy_DocHeader_DocDate] ATC: SET STATUS = O ATC: * save the new doc with the subtype added ATC: SAVE ATC: BookmarkSource NEW ATC: SETHTML $HDR = Please complete the attached <a title="Open" class="sfDocHL" data-key="[DKEY_DocHeader_DocMasterKey]" data-permits="0" href="javascript:$PopDoc();">Safety Incident Report</a>! ATC: SELECT SOURCE ATC: BookmarkSource SOURCE ATC: ADD UIA UserNotification FYI: Safety document attached... ATC: * Top right ATC: ADD UIA DocHeaderMessage $HDR ATC: * popup with link ATC: ENDIF

Send Emails w/o Routing Based on a Choice Presented by HimaBindu Angalakurthi from UC Davis

Presented by HimaBindu Angalakurthi from UC Davis How It Was Done ATC: * If date is not approved, send email to that effect ATC: IF REASON = N ATC: SETHTML $Body = Inspection Date Not Approved: [DocRevision_NoteEML] ATC: SEND TO dmcgovern@spitfiremanagement.com; TO DocMasterDetail.SourceContact CC 2 CC 30 SUBJ [DM_DocHeader_Location] Date Not Approved [FdddcbMxdxyybhhXmmbtt_DocHeader_Due]; BODY $Body ATC: ENDIF ATC: * If date is confirmed, send email to that effect ATC: IF REASON = Y ATC: SETHTML $Body = Inspection Date Confirmed: [DocRevision_NoteEML] TO DocMasterDetail.SourceContact CC 2 CC 30 SUBJ [DM_DocHeader_Location] [Confirm Date [FdddcbMxdxyybhhXmmbtt_DocHeader_Due]; BODY $Body ATC: SET REASON = ? ATC: * Options TO * (for current Route SEQ), or TO RouteSeq 2 (for Route SEQ 2) Presented by HimaBindu Angalakurthi from UC Davis

Workflow in Routes ATC: * This workflow calls the script used to close the document. ATC: CALL OnDFRFinish ATC: CALL CloseDoc ATC: STATUS C

Save Extensions Pre-builds list of those likely to be on site from the commitment data! Really easy to just check who is present Can always manually add visitors Uses TSQL and SaveCustomDocExtn rules (see KBA-01183 and ) A small extract of the TSQL code follows…..

Save Extensions GO IF EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'[dbo].czx_PopulateNewFieldReport') AND type in (N'P', N'PC')) DROP PROCEDURE [dbo].czx_PopulateNewFieldReport CREATE PROCEDURE dbo.czx_PopulateNewFieldReport @pDocKey as UniqueIdentifier, @pDocRevKey as UniqueIdentifier, @pUserKey as UniqueIdentifier AS <snip> INSERT INTO @ALIST SELECT dh.SourceContact ,dh.DocMasterKey ,vu.Company ,dh.DocNo ,'C' FROM dbo.xsfDocHeader dh LEFT OUTER JOIN dbo.xsfUser vu on vu.UserKey = dh.SourceContact WHERE dh.DocTypeKey = @SCDTK -- commitments and dh.Project = @Project -- AND dh.Subtype = 'SUB' SELECTal.PrimeVendorKey ,al.DMK ,ISNULL(vu.company, ma.AttendeeName) ,al.CNO ,'L' FROM dbo.xsfMeetingAttendee ma JOIN @ALIST al ON al.DMK = ma.DocMasterKey and al.PrimeVendorKey <> isnull(ma.UserKey ,'FF1975FD-76DE-486C-888B-54E8FCD880E0' ) LEFT OUTER JOIN dbo.xsfUser vu on vu.UserKey = ma.UserKey WHERE ma.UserKey is not null or ma.AttendeeName is not null INSERT INTO [dbo].[xsfMeetingAttendee] ([AttendeeKey] ,[DocMasterKey] ,[UserKey] ,[LinkedItemKey] ,[AttendeeName] ,[Reference] ,[Purpose] ,[Amount] ,[csAmount] ,[Resolved] ,[csString060] ,[Present] ,[IsRegular] ,[csCheck] ,[Note]) SELECT NEWID() as AttendeeKey ,@pDocKey as DocMasterKey ,al.PrimeVendorKey ,null as LinkedItemKey ,vu.Company as AttendeeName ,null as Reference ,null as Purpose ,null as Amount ,null as csAmount ,null as Resolved ,case when al.SourceType = 'L' THEN al.Company ELSE NULL END as csString060 ,0 as Present ,0 as IsRegular ,0 as csCheck ,null asNote FROM @ALIST al LEFT OUTER JOIN dbo.xsfUser vu on vu.UserKey = al.PrimeVendorKey

ATC: QUERY ATC: QUERY qFldRptInfo QueryConfig and WordTemplateConfig rule group: qxxxx:Alias Runs a TSQL query Hint: Use stored procedures Acts a lot like little reports you can write in Microsoft Word using templates Fields become bookmarks eg [qFldRptInfo_LowTemp] See KBA-01476 and KBA-01613 and links therein A small extract of the TSQL code on the next slide…..

ATC: QUERY … the Query DECLARE @AllowedSummaryLen INT create procedure pqa_DaySummary @pDocMasterKeyUniqueIdentifier AS -- intended for consumption by word template "qAlias" -- @pDocMasterKeygenerally points to a Daily Field Report doc DECLARE @ProjectVARCHAR(22) ,@ForDayDateTime SELECT@Project= dh.Project ,@ForDay= dh.DocDate FROM dbo.xsfDocHeader dh WHERE dh.DocMasterKey = @pDocMasterKey declare @summary varchar(999) = '', @cnt int = 0, @min int = 999, @max int = 999 select @cnt = @cnt + 1 , @min = case when Temperature < @min then Temperature WHEN FeelsLike < @min then FeelsLike else @min end , @max = case when Temperature > @max then Temperature WHEN FeelsLike > @max then FeelsLike else @max end , @summary = @summary + case when CHARINDEX(wr.Conditions , @summary ) = 0 THEN case when LEN(@summary) > 0 then ', ' ELSE '' END + wr.Conditions ELSE '' END from dbo.xsfWeatherReading wr join dbo.xsfWeatherLocation wl on wr.WeatherLocationKey = wl.WeatherLocationKey join dbo.xsfProject xp on xp.Zip = wl.LocationCode where project = @Project and ABS(datediff(day,@ForDay,reported)) = 0 IF @cnt = 0 BEGIN SET @summary = 'No readings today' END DECLARE @AllowedSummaryLen INT set @AllowedSummaryLen = 56; IF Len(@summary) > @AllowedSummaryLen set @summary = replace(@summary ,'Light ','Lt.') IF Len(@summary) > @AllowedSummaryLen set @summary = replace(@summary ,' ','') IF Len(@summary) > @AllowedSummaryLen set @summary = SUBSTRING(@summary ,2,@AllowedSummaryLen) SELECT @cnt as WReadings, @min as LowTemp, @max as HiTemp, @summary as WSummary , count(*) as PTDReports , SUM(case when IsSameMonth = 1 then 1 else 0 end ) as MTDReports , SUM( DaysLost ) as PTDLostDays , SUM( case when IsSameMonth = 1 THEN DaysLost else 0 end ) as MTDLostDays FROM ( select dh.DocMasterKey ,case when ISNULL(section,'') <> '' AND ISNUMERIC(section) = 1 then cast( section as money) when vv.csFlag = 1 THEN 1 ELSE 0 end as DaysLost ,case when DateDiff(month,DocDate , @ForDay ) = 0 then 1 else 0 end as IsSameMonth FROM dbo.xsfDocHeader dh join dbo.vsf_RevisionInfo vi on vi.DocMasterKey = dh.DocMasterKey join dbo.xsfDocRevision vv on vv.DocRevKey = vi.DocRevKey WHERE DocTypeKey = 'FE43472F-5FBD-4533-909B-216FC34370F0’ and project = @Project and DocDate <= @ForDay ) dfrSummary

(Note that we are taking a break in January) Next Topic Follow the Money… February 8 1:00 pm EST (Note that we are taking a break in January)