SlideShare ist ein Scribd-Unternehmen logo
1 von 17
Downloaden Sie, um offline zu lesen
Attachment Workflow Using Office 365 & Nintex Alan Richards
Table of Contents 
Introduction ............................................................................................................................................ 2 
Scenario ................................................................................................................................................... 3 
Problem ............................................................................................................................................... 3 
Solution ............................................................................................................................................... 3 
Web Service (REST) ................................................................................................................................. 4 
Building the Solution ............................................................................................................................... 5 
Variables ............................................................................................................................................. 5 
Build Dictionary ................................................................................................................................... 6 
Call HTTP Web Service ........................................................................................................................ 8 
Get an Item from a Dictionary ............................................................................................................ 9 
Count Items in a Dictionary .............................................................................................................. 10 
Set Workflow Variable ...................................................................................................................... 11 
Extract Attachments ......................................................................................................................... 12 
Log History ........................................................................................................................................ 15 
Final Solution ........................................................................................................................................ 16 
Figure 1 - Nintex Workflow Ribbon ......................................................................................................... 5 
Figure 2 - Workflow Variables ................................................................................................................. 5 
Figure 3 - Actions Pane ........................................................................................................................... 6 
Figure 4 - Build Request Headers Dictionary .......................................................................................... 7 
Figure 5 - Call HTTP Web Service ............................................................................................................ 8 
Figure 6 - Run d/Results to get item from a dictionary .......................................................................... 9 
Figure 7 - Count items in a Dictionary ................................................................................................... 10 
Figure 8 - Set Workflow Variable .......................................................................................................... 11 
Figure 9 - Loop Count ............................................................................................................................ 12 
Figure 10 - Get an item from a dictionary (Attachment URL) ............................................................... 13 
Figure 11 - Get an item from a dictionary (Attachment Filename) ...................................................... 13 
Figure 12 - Upload File .......................................................................................................................... 14 
Figure 13 - Calculate loop value ............................................................................................................ 14 
Figure 14 - Set temp loop count value .................................................................................................. 15 
Figure 15 - Workflow Settings ............................................................................................................... 16
Introduction 
This eBook has been written to detail the steps to create a Nintex workflow that will extract attachments from a list item and then upload those attachments to a document library within the same site collection. 
The solution is built using SharePoint online in Office 365 and Nintex workflow for Office 365. However the same principles and methods can be used for onPremises SharePoint and Nintex.
Scenario 
For this post the scenario is an application form for an organisation that requires applicants to complete a simple online form as shown below and upload their resume and a covering letter 
Problem 
The above works fine until you have more vacancies and applicants and the only way to get to all the documents is through the submitted forms, what really needs to happen is that the documents are taken from the forms and submitted to a document library where they are sorted by vacancy 
Solution 
This solution uses Nintex workflow, the reason for this is that InfoPath is slowly being removed from the suite of tools available to a user and Nintex allows you to carry out the types of complex operations that this workflow is going to need
Web Service (REST) 
In Office 365 & onPremises SharePoint for that matter, you can access certain information by using a call to a REST web service, for this solution I use the REST service to return the details of the file attachment to a workflow and then use the Nintex upload file routine to take the file and upload it to a document library while creating folders based on the vacancy the applicant is applying for
Building the Solution 
Variables 
First let’s construct the call to the web service, in Nintex the variables required by the web service are stored in a dictionary, to create a variable open up Nintex workflow for the list and select variables from the ribbon as shown in Figure 1 
Figure 1 - Nintex Workflow Ribbon 
You will need to create multiple variables for this workflow as shown in Figure 2 
Figure 2 - Workflow Variables
Build Dictionary 
Now we need to build the dictionary to store the REST Request Headers 
From the Actions pane, shown in Figure 3, select Operations | Build Dictionary 
Figure 3 - Actions Pane
Drag the action onto the main canvas and click on the white down triangle and select Configure 
On the configure screen I need to add the headers that will be sent to the Office 365 web service to gain access to all the details I need. I need two items within the dictionary; Content-type & Accept, the details are shown in Figure 4 
Figure 4 - Build Request Headers Dictionary
Call HTTP Web Service 
I now need to call the web service, to do this drag the Call HTTP Web Service actions from the integration sub section onto the canvas as shown below and configure the action as shown in Figure 5 
Figure 5 - Call HTTP Web Service 
So what does the first line of this call do, it basically uses a context variable at the start to call the web service at the current site collection, looks for the ApplicantList list, gets the item that matches the current ID of the list item that launched the workflow and then finds all of the attachments for that list item
Get an Item from a Dictionary 
The next step is to get items from the response of the call to the web service. 
For this I need to add the Get an Item from a Dictionary action from the Operations action pane and add it to the workflow timeline 
Configuration of this item will use a command d/results which will get the data from the web service and then add it to a variable that will be used later. The configuration of this item is shown in Figure 6 
Figure 6 - Run d/Results to get item from a dictionary
Count Items in a Dictionary 
I now need to count the items in the dictionary, this ensure that the workflow knows how many attachments there are, there wouldn’t be much point in extracting a single attachment when there are in actual fact multiple attachments 
To do this select the Count items in a Dictionary from the Operations actions and add it to the workflow timeline 
Configuration for this item is shown in Figure 7 
Figure 7 - Count items in a Dictionary
Set Workflow Variable 
As the workflow progresses it is going to use a variable called LoopCount to work out how many times it needs to run a section of the workflow to ensure if there are multiple attachments they are all extracted 
For this drag the Set Workflow Variable action from the Operations action pane onto the workflow timeline and configure it as shown in Figure 8 
Figure 8 - Set Workflow Variable
Extract Attachments 
The next stage of the workflow is to extract the attachments from the list item. To achieve this the part of the workflow that extracts the attachment needs to loop for the amount of attachments that are in the list item. 
To start with drag the Loop N Times from the Logic and Flow action pane onto you workflow, the settings for the loop element are shown in Figure 9 
Then add the actions shown on the left inside the loop element. 
The settings for each element inside the loop are shown in Figures 10 – 14 
Figure 9 - Loop Count
Figure 10 - Get an item from a dictionary (Attachment URL) 
Figure 11 - Get an item from a dictionary (Attachment Filename)
Figure 12 - Upload File 
Figure 13 - Calculate loop value
Figure 14 - Set temp loop count value 
What the above does is: 
 Finds the URL of the attachment 
 Find the attachment filename 
 Uploads the file to required location 
 Sets the temp loop count variable 
 Sets the loop count variable to the value of the temp loop count variable 
What all this does is loops through the upload process based on the number of attachments in the list item. 
Log History 
The final step is to log the action of the workflow to the history list. Drag the Log to History List from the Operations action pane and set it to whatever you want to log.
Final Solution 
Your final workflow should look like the example on the left. 
All you need to do is assign it to the required list and set it to automatic of manual launch behaviour, which can be found in the settings page. 
Figure 15 - Workflow Settings

Weitere ähnliche Inhalte

Was ist angesagt?

Operational analysis questionnaire otl
Operational analysis questionnaire otlOperational analysis questionnaire otl
Operational analysis questionnaire otlFeras Ahmad
 
Evening out the uneven: dealing with skew in Flink
Evening out the uneven: dealing with skew in FlinkEvening out the uneven: dealing with skew in Flink
Evening out the uneven: dealing with skew in FlinkFlink Forward
 
Stream processing IoT time series data with Kafka & InfluxDB | Al Sargent, In...
Stream processing IoT time series data with Kafka & InfluxDB | Al Sargent, In...Stream processing IoT time series data with Kafka & InfluxDB | Al Sargent, In...
Stream processing IoT time series data with Kafka & InfluxDB | Al Sargent, In...HostedbyConfluent
 
Parallelizing with Apache Spark in Unexpected Ways
Parallelizing with Apache Spark in Unexpected WaysParallelizing with Apache Spark in Unexpected Ways
Parallelizing with Apache Spark in Unexpected WaysDatabricks
 
트위터의 추천 시스템 파헤치기
트위터의 추천 시스템 파헤치기트위터의 추천 시스템 파헤치기
트위터의 추천 시스템 파헤치기Yan So
 
Streaming Event Time Partitioning with Apache Flink and Apache Iceberg - Juli...
Streaming Event Time Partitioning with Apache Flink and Apache Iceberg - Juli...Streaming Event Time Partitioning with Apache Flink and Apache Iceberg - Juli...
Streaming Event Time Partitioning with Apache Flink and Apache Iceberg - Juli...Flink Forward
 
Introducing BinarySortedMultiMap - A new Flink state primitive to boost your ...
Introducing BinarySortedMultiMap - A new Flink state primitive to boost your ...Introducing BinarySortedMultiMap - A new Flink state primitive to boost your ...
Introducing BinarySortedMultiMap - A new Flink state primitive to boost your ...Flink Forward
 
AWSサービスで実現するEightの行動ログ活用基盤
AWSサービスで実現するEightの行動ログ活用基盤AWSサービスで実現するEightの行動ログ活用基盤
AWSサービスで実現するEightの行動ログ活用基盤Tetsuya Mase
 
State of the Trino Project
State of the Trino ProjectState of the Trino Project
State of the Trino ProjectMartin Traverso
 
Optimizing Your Cluster with Coordinator Nodes (Eric Lubow, SimpleReach) | Ca...
Optimizing Your Cluster with Coordinator Nodes (Eric Lubow, SimpleReach) | Ca...Optimizing Your Cluster with Coordinator Nodes (Eric Lubow, SimpleReach) | Ca...
Optimizing Your Cluster with Coordinator Nodes (Eric Lubow, SimpleReach) | Ca...DataStax
 
Massive Data Processing in Adobe Using Delta Lake
Massive Data Processing in Adobe Using Delta LakeMassive Data Processing in Adobe Using Delta Lake
Massive Data Processing in Adobe Using Delta LakeDatabricks
 
Welcome to the Flink Community!
Welcome to the Flink Community!Welcome to the Flink Community!
Welcome to the Flink Community!Flink Forward
 
Virtual Flink Forward 2020: A deep dive into Flink SQL - Jark Wu
Virtual Flink Forward 2020: A deep dive into Flink SQL - Jark WuVirtual Flink Forward 2020: A deep dive into Flink SQL - Jark Wu
Virtual Flink Forward 2020: A deep dive into Flink SQL - Jark WuFlink Forward
 
PeopleSoft 9.2 HCM Features and Functions Including Fluid Mobile
PeopleSoft 9.2 HCM Features and Functions Including Fluid MobilePeopleSoft 9.2 HCM Features and Functions Including Fluid Mobile
PeopleSoft 9.2 HCM Features and Functions Including Fluid MobileNERUG
 
Autoscaling Flink with Reactive Mode
Autoscaling Flink with Reactive ModeAutoscaling Flink with Reactive Mode
Autoscaling Flink with Reactive ModeFlink Forward
 
Migrating database content from sql server to sap hana
Migrating database content from sql server to sap hanaMigrating database content from sql server to sap hana
Migrating database content from sql server to sap hanavenu212
 
Ch6 대용량서비스레퍼런스아키텍처 part.1
Ch6 대용량서비스레퍼런스아키텍처 part.1Ch6 대용량서비스레퍼런스아키텍처 part.1
Ch6 대용량서비스레퍼런스아키텍처 part.1Minchul Jung
 
Building Better Data Pipelines using Apache Airflow
Building Better Data Pipelines using Apache AirflowBuilding Better Data Pipelines using Apache Airflow
Building Better Data Pipelines using Apache AirflowSid Anand
 
Solution Manager 7.2 Overview final
Solution Manager 7.2 Overview finalSolution Manager 7.2 Overview final
Solution Manager 7.2 Overview finalDeb Martina
 

Was ist angesagt? (20)

Operational analysis questionnaire otl
Operational analysis questionnaire otlOperational analysis questionnaire otl
Operational analysis questionnaire otl
 
Evening out the uneven: dealing with skew in Flink
Evening out the uneven: dealing with skew in FlinkEvening out the uneven: dealing with skew in Flink
Evening out the uneven: dealing with skew in Flink
 
Stream processing IoT time series data with Kafka & InfluxDB | Al Sargent, In...
Stream processing IoT time series data with Kafka & InfluxDB | Al Sargent, In...Stream processing IoT time series data with Kafka & InfluxDB | Al Sargent, In...
Stream processing IoT time series data with Kafka & InfluxDB | Al Sargent, In...
 
Parallelizing with Apache Spark in Unexpected Ways
Parallelizing with Apache Spark in Unexpected WaysParallelizing with Apache Spark in Unexpected Ways
Parallelizing with Apache Spark in Unexpected Ways
 
DemantraSolutions.pdf
DemantraSolutions.pdfDemantraSolutions.pdf
DemantraSolutions.pdf
 
트위터의 추천 시스템 파헤치기
트위터의 추천 시스템 파헤치기트위터의 추천 시스템 파헤치기
트위터의 추천 시스템 파헤치기
 
Streaming Event Time Partitioning with Apache Flink and Apache Iceberg - Juli...
Streaming Event Time Partitioning with Apache Flink and Apache Iceberg - Juli...Streaming Event Time Partitioning with Apache Flink and Apache Iceberg - Juli...
Streaming Event Time Partitioning with Apache Flink and Apache Iceberg - Juli...
 
Introducing BinarySortedMultiMap - A new Flink state primitive to boost your ...
Introducing BinarySortedMultiMap - A new Flink state primitive to boost your ...Introducing BinarySortedMultiMap - A new Flink state primitive to boost your ...
Introducing BinarySortedMultiMap - A new Flink state primitive to boost your ...
 
AWSサービスで実現するEightの行動ログ活用基盤
AWSサービスで実現するEightの行動ログ活用基盤AWSサービスで実現するEightの行動ログ活用基盤
AWSサービスで実現するEightの行動ログ活用基盤
 
State of the Trino Project
State of the Trino ProjectState of the Trino Project
State of the Trino Project
 
Optimizing Your Cluster with Coordinator Nodes (Eric Lubow, SimpleReach) | Ca...
Optimizing Your Cluster with Coordinator Nodes (Eric Lubow, SimpleReach) | Ca...Optimizing Your Cluster with Coordinator Nodes (Eric Lubow, SimpleReach) | Ca...
Optimizing Your Cluster with Coordinator Nodes (Eric Lubow, SimpleReach) | Ca...
 
Massive Data Processing in Adobe Using Delta Lake
Massive Data Processing in Adobe Using Delta LakeMassive Data Processing in Adobe Using Delta Lake
Massive Data Processing in Adobe Using Delta Lake
 
Welcome to the Flink Community!
Welcome to the Flink Community!Welcome to the Flink Community!
Welcome to the Flink Community!
 
Virtual Flink Forward 2020: A deep dive into Flink SQL - Jark Wu
Virtual Flink Forward 2020: A deep dive into Flink SQL - Jark WuVirtual Flink Forward 2020: A deep dive into Flink SQL - Jark Wu
Virtual Flink Forward 2020: A deep dive into Flink SQL - Jark Wu
 
PeopleSoft 9.2 HCM Features and Functions Including Fluid Mobile
PeopleSoft 9.2 HCM Features and Functions Including Fluid MobilePeopleSoft 9.2 HCM Features and Functions Including Fluid Mobile
PeopleSoft 9.2 HCM Features and Functions Including Fluid Mobile
 
Autoscaling Flink with Reactive Mode
Autoscaling Flink with Reactive ModeAutoscaling Flink with Reactive Mode
Autoscaling Flink with Reactive Mode
 
Migrating database content from sql server to sap hana
Migrating database content from sql server to sap hanaMigrating database content from sql server to sap hana
Migrating database content from sql server to sap hana
 
Ch6 대용량서비스레퍼런스아키텍처 part.1
Ch6 대용량서비스레퍼런스아키텍처 part.1Ch6 대용량서비스레퍼런스아키텍처 part.1
Ch6 대용량서비스레퍼런스아키텍처 part.1
 
Building Better Data Pipelines using Apache Airflow
Building Better Data Pipelines using Apache AirflowBuilding Better Data Pipelines using Apache Airflow
Building Better Data Pipelines using Apache Airflow
 
Solution Manager 7.2 Overview final
Solution Manager 7.2 Overview finalSolution Manager 7.2 Overview final
Solution Manager 7.2 Overview final
 

Andere mochten auch

Creating attachments to work items or to user decisions in workflows
Creating attachments to work items or to user decisions in workflowsCreating attachments to work items or to user decisions in workflows
Creating attachments to work items or to user decisions in workflowsHicham Khallouki
 
Overview of the healthcare social welfare and regional government reform pack...
Overview of the healthcare social welfare and regional government reform pack...Overview of the healthcare social welfare and regional government reform pack...
Overview of the healthcare social welfare and regional government reform pack...Sosiaali- ja terveysministeriö / yleiset
 
The Evolution of Forms for SharePoint/O365
The Evolution of Forms for SharePoint/O365The Evolution of Forms for SharePoint/O365
The Evolution of Forms for SharePoint/O365Alistair Pugin
 
Driving Business Value with Enterprise Social
Driving Business Value with Enterprise SocialDriving Business Value with Enterprise Social
Driving Business Value with Enterprise SocialCreative Sharepoint
 
Ananda_SAP_HRABAP_WDP_Workflow with 4+ Years Exp
Ananda_SAP_HRABAP_WDP_Workflow with 4+ Years ExpAnanda_SAP_HRABAP_WDP_Workflow with 4+ Years Exp
Ananda_SAP_HRABAP_WDP_Workflow with 4+ Years ExpAnand Uppara
 
Introduccion a sharepoint framework
Introduccion a sharepoint frameworkIntroduccion a sharepoint framework
Introduccion a sharepoint frameworkLuis Valencia
 
SAP Business Workflow - Best Practices
SAP Business Workflow - Best PracticesSAP Business Workflow - Best Practices
SAP Business Workflow - Best PracticesWarren Eiserman
 
Powerful and Quick Workflow Automation Solutions with Nintex
Powerful and Quick Workflow Automation Solutions with NintexPowerful and Quick Workflow Automation Solutions with Nintex
Powerful and Quick Workflow Automation Solutions with NintexNetwoven Inc.
 
Nintex Forms 2013
Nintex Forms 2013Nintex Forms 2013
Nintex Forms 2013James Milne
 

Andere mochten auch (15)

Creating attachments to work items or to user decisions in workflows
Creating attachments to work items or to user decisions in workflowsCreating attachments to work items or to user decisions in workflows
Creating attachments to work items or to user decisions in workflows
 
Overview of the healthcare social welfare and regional government reform pack...
Overview of the healthcare social welfare and regional government reform pack...Overview of the healthcare social welfare and regional government reform pack...
Overview of the healthcare social welfare and regional government reform pack...
 
The Evolution of Forms for SharePoint/O365
The Evolution of Forms for SharePoint/O365The Evolution of Forms for SharePoint/O365
The Evolution of Forms for SharePoint/O365
 
Elearning usama
Elearning usamaElearning usama
Elearning usama
 
Driving Business Value with Enterprise Social
Driving Business Value with Enterprise SocialDriving Business Value with Enterprise Social
Driving Business Value with Enterprise Social
 
Ananda_SAP_HRABAP_WDP_Workflow with 4+ Years Exp
Ananda_SAP_HRABAP_WDP_Workflow with 4+ Years ExpAnanda_SAP_HRABAP_WDP_Workflow with 4+ Years Exp
Ananda_SAP_HRABAP_WDP_Workflow with 4+ Years Exp
 
Introduccion a sharepoint framework
Introduccion a sharepoint frameworkIntroduccion a sharepoint framework
Introduccion a sharepoint framework
 
About work flow
About work flowAbout work flow
About work flow
 
Git collaboration
Git collaborationGit collaboration
Git collaboration
 
SAP Business Workflow - Best Practices
SAP Business Workflow - Best PracticesSAP Business Workflow - Best Practices
SAP Business Workflow - Best Practices
 
SAP workflow classics
SAP workflow classicsSAP workflow classics
SAP workflow classics
 
Sap workflow training
Sap workflow trainingSap workflow training
Sap workflow training
 
SAP workflow events
SAP workflow eventsSAP workflow events
SAP workflow events
 
Powerful and Quick Workflow Automation Solutions with Nintex
Powerful and Quick Workflow Automation Solutions with NintexPowerful and Quick Workflow Automation Solutions with Nintex
Powerful and Quick Workflow Automation Solutions with Nintex
 
Nintex Forms 2013
Nintex Forms 2013Nintex Forms 2013
Nintex Forms 2013
 

Ähnlich wie Nintex attachment workflow

Process Improvement through SharePoint Workflows. Connect the Click Points. G...
Process Improvement through SharePoint Workflows. Connect the Click Points. G...Process Improvement through SharePoint Workflows. Connect the Click Points. G...
Process Improvement through SharePoint Workflows. Connect the Click Points. G...Datapolis
 
How to develop a gateway service using code based implementation
How to develop a gateway service using code based implementationHow to develop a gateway service using code based implementation
How to develop a gateway service using code based implementationnitin2517
 
Introduction to SQL Report tool
Introduction to SQL Report toolIntroduction to SQL Report tool
Introduction to SQL Report toolRussell Frearson
 
Angular resolver tutorial
Angular resolver tutorialAngular resolver tutorial
Angular resolver tutorialKaty Slemon
 
Murach : How to work with session state and cookies
Murach : How to work with session state and cookiesMurach : How to work with session state and cookies
Murach : How to work with session state and cookiesMahmoudOHassouna
 
IMPACT/myGrid Hackathon - Introduction to Taverna
IMPACT/myGrid Hackathon - Introduction to TavernaIMPACT/myGrid Hackathon - Introduction to Taverna
IMPACT/myGrid Hackathon - Introduction to TavernaIMPACT Centre of Competence
 
Sap Tech Ed06 Asug Wf
Sap Tech Ed06 Asug WfSap Tech Ed06 Asug Wf
Sap Tech Ed06 Asug WfKeith Swenson
 
3 Ways to Get Started with a React App in 2024.pdf
3 Ways to Get Started with a React App in 2024.pdf3 Ways to Get Started with a React App in 2024.pdf
3 Ways to Get Started with a React App in 2024.pdfBOSC Tech Labs
 
Business requirements template
Business requirements templateBusiness requirements template
Business requirements templateNageswaraRao k
 
Advance Sql Server Store procedure Presentation
Advance Sql Server Store procedure PresentationAdvance Sql Server Store procedure Presentation
Advance Sql Server Store procedure PresentationAmin Uddin
 
123448572 all-in-one-informatica
123448572 all-in-one-informatica123448572 all-in-one-informatica
123448572 all-in-one-informaticahomeworkping9
 
J11_S4CLD2208_BPD_EN_US.docx
J11_S4CLD2208_BPD_EN_US.docxJ11_S4CLD2208_BPD_EN_US.docx
J11_S4CLD2208_BPD_EN_US.docxArun Obilisetty
 
Building mash ups and simplifying application integration with res tful web s...
Building mash ups and simplifying application integration with res tful web s...Building mash ups and simplifying application integration with res tful web s...
Building mash ups and simplifying application integration with res tful web s...Md Ahmad Ali
 
How to perform debounce in react
How to perform debounce in reactHow to perform debounce in react
How to perform debounce in reactBOSC Tech Labs
 
Asynchronous Apex Salesforce World Tour Paris 2015
Asynchronous Apex Salesforce World Tour Paris 2015Asynchronous Apex Salesforce World Tour Paris 2015
Asynchronous Apex Salesforce World Tour Paris 2015Samuel De Rycke
 
SSRS - PPS - MOSS Profile
SSRS - PPS - MOSS ProfileSSRS - PPS - MOSS Profile
SSRS - PPS - MOSS Profiletthompson0421
 
ChircuVictor StefircaMadalin rad_aspmvc3_wcf_vs2010
ChircuVictor StefircaMadalin rad_aspmvc3_wcf_vs2010ChircuVictor StefircaMadalin rad_aspmvc3_wcf_vs2010
ChircuVictor StefircaMadalin rad_aspmvc3_wcf_vs2010vchircu
 

Ähnlich wie Nintex attachment workflow (20)

Process Improvement through SharePoint Workflows. Connect the Click Points. G...
Process Improvement through SharePoint Workflows. Connect the Click Points. G...Process Improvement through SharePoint Workflows. Connect the Click Points. G...
Process Improvement through SharePoint Workflows. Connect the Click Points. G...
 
How to develop a gateway service using code based implementation
How to develop a gateway service using code based implementationHow to develop a gateway service using code based implementation
How to develop a gateway service using code based implementation
 
Introduction to SQL Report tool
Introduction to SQL Report toolIntroduction to SQL Report tool
Introduction to SQL Report tool
 
Angular resolver tutorial
Angular resolver tutorialAngular resolver tutorial
Angular resolver tutorial
 
Murach : How to work with session state and cookies
Murach : How to work with session state and cookiesMurach : How to work with session state and cookies
Murach : How to work with session state and cookies
 
IMPACT/myGrid Hackathon - Introduction to Taverna
IMPACT/myGrid Hackathon - Introduction to TavernaIMPACT/myGrid Hackathon - Introduction to Taverna
IMPACT/myGrid Hackathon - Introduction to Taverna
 
Oracle BPM 11g Lesson 2
Oracle BPM 11g Lesson 2Oracle BPM 11g Lesson 2
Oracle BPM 11g Lesson 2
 
Sap Tech Ed06 Asug Wf
Sap Tech Ed06 Asug WfSap Tech Ed06 Asug Wf
Sap Tech Ed06 Asug Wf
 
3 Ways to Get Started with a React App in 2024.pdf
3 Ways to Get Started with a React App in 2024.pdf3 Ways to Get Started with a React App in 2024.pdf
3 Ways to Get Started with a React App in 2024.pdf
 
Jazz
JazzJazz
Jazz
 
RESTfulDay9
RESTfulDay9RESTfulDay9
RESTfulDay9
 
Business requirements template
Business requirements templateBusiness requirements template
Business requirements template
 
Advance Sql Server Store procedure Presentation
Advance Sql Server Store procedure PresentationAdvance Sql Server Store procedure Presentation
Advance Sql Server Store procedure Presentation
 
123448572 all-in-one-informatica
123448572 all-in-one-informatica123448572 all-in-one-informatica
123448572 all-in-one-informatica
 
J11_S4CLD2208_BPD_EN_US.docx
J11_S4CLD2208_BPD_EN_US.docxJ11_S4CLD2208_BPD_EN_US.docx
J11_S4CLD2208_BPD_EN_US.docx
 
Building mash ups and simplifying application integration with res tful web s...
Building mash ups and simplifying application integration with res tful web s...Building mash ups and simplifying application integration with res tful web s...
Building mash ups and simplifying application integration with res tful web s...
 
How to perform debounce in react
How to perform debounce in reactHow to perform debounce in react
How to perform debounce in react
 
Asynchronous Apex Salesforce World Tour Paris 2015
Asynchronous Apex Salesforce World Tour Paris 2015Asynchronous Apex Salesforce World Tour Paris 2015
Asynchronous Apex Salesforce World Tour Paris 2015
 
SSRS - PPS - MOSS Profile
SSRS - PPS - MOSS ProfileSSRS - PPS - MOSS Profile
SSRS - PPS - MOSS Profile
 
ChircuVictor StefircaMadalin rad_aspmvc3_wcf_vs2010
ChircuVictor StefircaMadalin rad_aspmvc3_wcf_vs2010ChircuVictor StefircaMadalin rad_aspmvc3_wcf_vs2010
ChircuVictor StefircaMadalin rad_aspmvc3_wcf_vs2010
 

Mehr von Alan Richards

Yammer - What is all the fuss about
Yammer - What is all the fuss aboutYammer - What is all the fuss about
Yammer - What is all the fuss aboutAlan Richards
 
Building dashboards with Visio Services
Building dashboards with Visio ServicesBuilding dashboards with Visio Services
Building dashboards with Visio ServicesAlan Richards
 
European SharePoint Conference Training Week - Installing SharePoint 2013
European SharePoint Conference Training Week - Installing SharePoint 2013European SharePoint Conference Training Week - Installing SharePoint 2013
European SharePoint Conference Training Week - Installing SharePoint 2013Alan Richards
 
Building BI Dashboards Using Visio 2013
Building BI DashboardsUsing Visio 2013Building BI DashboardsUsing Visio 2013
Building BI Dashboards Using Visio 2013Alan Richards
 
Windows 8 - Technical Overview
Windows 8 - Technical OverviewWindows 8 - Technical Overview
Windows 8 - Technical OverviewAlan Richards
 
ISBA 14th February 2013
ISBA 14th February 2013ISBA 14th February 2013
ISBA 14th February 2013Alan Richards
 
SharePoint Saturday UK - Workflow Evolution
SharePoint Saturday UK - Workflow EvolutionSharePoint Saturday UK - Workflow Evolution
SharePoint Saturday UK - Workflow EvolutionAlan Richards
 
Lync 2010 user guide
Lync 2010 user guideLync 2010 user guide
Lync 2010 user guideAlan Richards
 
Cost Cutting Using SharePoint 2010 in Education
Cost Cutting Using SharePoint 2010 in EducationCost Cutting Using SharePoint 2010 in Education
Cost Cutting Using SharePoint 2010 in EducationAlan Richards
 
Migrating to office 365
Migrating to office 365Migrating to office 365
Migrating to office 365Alan Richards
 
SPS India - August 2012
SPS India - August 2012SPS India - August 2012
SPS India - August 2012Alan Richards
 
Cost Cutting Using ICT - NAACE Conference 2012
Cost Cutting Using ICT - NAACE Conference 2012Cost Cutting Using ICT - NAACE Conference 2012
Cost Cutting Using ICT - NAACE Conference 2012Alan Richards
 
SharePoint Europe Conference 2011 - Virtualisation
SharePoint Europe Conference 2011 - VirtualisationSharePoint Europe Conference 2011 - Virtualisation
SharePoint Europe Conference 2011 - VirtualisationAlan Richards
 
T21 SharePoint Europe Slide Deck
T21 SharePoint Europe Slide DeckT21 SharePoint Europe Slide Deck
T21 SharePoint Europe Slide DeckAlan Richards
 
Cost Cutting Using IT - Bletchley Park
Cost Cutting Using IT - Bletchley ParkCost Cutting Using IT - Bletchley Park
Cost Cutting Using IT - Bletchley ParkAlan Richards
 
Cost cutting live meeting
Cost cutting live meetingCost cutting live meeting
Cost cutting live meetingAlan Richards
 
European SharePoint Best Practice Conference - April 2011
European SharePoint Best Practice Conference - April 2011European SharePoint Best Practice Conference - April 2011
European SharePoint Best Practice Conference - April 2011Alan Richards
 

Mehr von Alan Richards (20)

Yammer - What is all the fuss about
Yammer - What is all the fuss aboutYammer - What is all the fuss about
Yammer - What is all the fuss about
 
Building dashboards with Visio Services
Building dashboards with Visio ServicesBuilding dashboards with Visio Services
Building dashboards with Visio Services
 
European SharePoint Conference Training Week - Installing SharePoint 2013
European SharePoint Conference Training Week - Installing SharePoint 2013European SharePoint Conference Training Week - Installing SharePoint 2013
European SharePoint Conference Training Week - Installing SharePoint 2013
 
Building BI Dashboards Using Visio 2013
Building BI DashboardsUsing Visio 2013Building BI DashboardsUsing Visio 2013
Building BI Dashboards Using Visio 2013
 
Windows 8 - Technical Overview
Windows 8 - Technical OverviewWindows 8 - Technical Overview
Windows 8 - Technical Overview
 
ISBA 14th February 2013
ISBA 14th February 2013ISBA 14th February 2013
ISBA 14th February 2013
 
SharePoint Saturday UK - Workflow Evolution
SharePoint Saturday UK - Workflow EvolutionSharePoint Saturday UK - Workflow Evolution
SharePoint Saturday UK - Workflow Evolution
 
Lync 2010 user guide
Lync 2010 user guideLync 2010 user guide
Lync 2010 user guide
 
Cost Cutting Using SharePoint 2010 in Education
Cost Cutting Using SharePoint 2010 in EducationCost Cutting Using SharePoint 2010 in Education
Cost Cutting Using SharePoint 2010 in Education
 
Migrating to office 365
Migrating to office 365Migrating to office 365
Migrating to office 365
 
SPS India - August 2012
SPS India - August 2012SPS India - August 2012
SPS India - August 2012
 
Cost Cutting Using ICT - NAACE Conference 2012
Cost Cutting Using ICT - NAACE Conference 2012Cost Cutting Using ICT - NAACE Conference 2012
Cost Cutting Using ICT - NAACE Conference 2012
 
SPSUK November 2011
SPSUK November 2011SPSUK November 2011
SPSUK November 2011
 
SharePoint Europe Conference 2011 - Virtualisation
SharePoint Europe Conference 2011 - VirtualisationSharePoint Europe Conference 2011 - Virtualisation
SharePoint Europe Conference 2011 - Virtualisation
 
T21 SharePoint Europe Slide Deck
T21 SharePoint Europe Slide DeckT21 SharePoint Europe Slide Deck
T21 SharePoint Europe Slide Deck
 
Cost Cutting Using IT - Bletchley Park
Cost Cutting Using IT - Bletchley ParkCost Cutting Using IT - Bletchley Park
Cost Cutting Using IT - Bletchley Park
 
Cost cutting live meeting
Cost cutting live meetingCost cutting live meeting
Cost cutting live meeting
 
European SharePoint Best Practice Conference - April 2011
European SharePoint Best Practice Conference - April 2011European SharePoint Best Practice Conference - April 2011
European SharePoint Best Practice Conference - April 2011
 
Paperless School
Paperless SchoolPaperless School
Paperless School
 
Cost Saving
Cost SavingCost Saving
Cost Saving
 

Kürzlich hochgeladen

A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUK Journal
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingEdi Saputra
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdflior mazor
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businesspanagenda
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MIND CTI
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 
Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024The Digital Insurer
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...apidays
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024SynarionITSolutions
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 

Kürzlich hochgeladen (20)

A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 

Nintex attachment workflow

  • 1. Attachment Workflow Using Office 365 & Nintex Alan Richards
  • 2. Table of Contents Introduction ............................................................................................................................................ 2 Scenario ................................................................................................................................................... 3 Problem ............................................................................................................................................... 3 Solution ............................................................................................................................................... 3 Web Service (REST) ................................................................................................................................. 4 Building the Solution ............................................................................................................................... 5 Variables ............................................................................................................................................. 5 Build Dictionary ................................................................................................................................... 6 Call HTTP Web Service ........................................................................................................................ 8 Get an Item from a Dictionary ............................................................................................................ 9 Count Items in a Dictionary .............................................................................................................. 10 Set Workflow Variable ...................................................................................................................... 11 Extract Attachments ......................................................................................................................... 12 Log History ........................................................................................................................................ 15 Final Solution ........................................................................................................................................ 16 Figure 1 - Nintex Workflow Ribbon ......................................................................................................... 5 Figure 2 - Workflow Variables ................................................................................................................. 5 Figure 3 - Actions Pane ........................................................................................................................... 6 Figure 4 - Build Request Headers Dictionary .......................................................................................... 7 Figure 5 - Call HTTP Web Service ............................................................................................................ 8 Figure 6 - Run d/Results to get item from a dictionary .......................................................................... 9 Figure 7 - Count items in a Dictionary ................................................................................................... 10 Figure 8 - Set Workflow Variable .......................................................................................................... 11 Figure 9 - Loop Count ............................................................................................................................ 12 Figure 10 - Get an item from a dictionary (Attachment URL) ............................................................... 13 Figure 11 - Get an item from a dictionary (Attachment Filename) ...................................................... 13 Figure 12 - Upload File .......................................................................................................................... 14 Figure 13 - Calculate loop value ............................................................................................................ 14 Figure 14 - Set temp loop count value .................................................................................................. 15 Figure 15 - Workflow Settings ............................................................................................................... 16
  • 3. Introduction This eBook has been written to detail the steps to create a Nintex workflow that will extract attachments from a list item and then upload those attachments to a document library within the same site collection. The solution is built using SharePoint online in Office 365 and Nintex workflow for Office 365. However the same principles and methods can be used for onPremises SharePoint and Nintex.
  • 4. Scenario For this post the scenario is an application form for an organisation that requires applicants to complete a simple online form as shown below and upload their resume and a covering letter Problem The above works fine until you have more vacancies and applicants and the only way to get to all the documents is through the submitted forms, what really needs to happen is that the documents are taken from the forms and submitted to a document library where they are sorted by vacancy Solution This solution uses Nintex workflow, the reason for this is that InfoPath is slowly being removed from the suite of tools available to a user and Nintex allows you to carry out the types of complex operations that this workflow is going to need
  • 5. Web Service (REST) In Office 365 & onPremises SharePoint for that matter, you can access certain information by using a call to a REST web service, for this solution I use the REST service to return the details of the file attachment to a workflow and then use the Nintex upload file routine to take the file and upload it to a document library while creating folders based on the vacancy the applicant is applying for
  • 6. Building the Solution Variables First let’s construct the call to the web service, in Nintex the variables required by the web service are stored in a dictionary, to create a variable open up Nintex workflow for the list and select variables from the ribbon as shown in Figure 1 Figure 1 - Nintex Workflow Ribbon You will need to create multiple variables for this workflow as shown in Figure 2 Figure 2 - Workflow Variables
  • 7. Build Dictionary Now we need to build the dictionary to store the REST Request Headers From the Actions pane, shown in Figure 3, select Operations | Build Dictionary Figure 3 - Actions Pane
  • 8. Drag the action onto the main canvas and click on the white down triangle and select Configure On the configure screen I need to add the headers that will be sent to the Office 365 web service to gain access to all the details I need. I need two items within the dictionary; Content-type & Accept, the details are shown in Figure 4 Figure 4 - Build Request Headers Dictionary
  • 9. Call HTTP Web Service I now need to call the web service, to do this drag the Call HTTP Web Service actions from the integration sub section onto the canvas as shown below and configure the action as shown in Figure 5 Figure 5 - Call HTTP Web Service So what does the first line of this call do, it basically uses a context variable at the start to call the web service at the current site collection, looks for the ApplicantList list, gets the item that matches the current ID of the list item that launched the workflow and then finds all of the attachments for that list item
  • 10. Get an Item from a Dictionary The next step is to get items from the response of the call to the web service. For this I need to add the Get an Item from a Dictionary action from the Operations action pane and add it to the workflow timeline Configuration of this item will use a command d/results which will get the data from the web service and then add it to a variable that will be used later. The configuration of this item is shown in Figure 6 Figure 6 - Run d/Results to get item from a dictionary
  • 11. Count Items in a Dictionary I now need to count the items in the dictionary, this ensure that the workflow knows how many attachments there are, there wouldn’t be much point in extracting a single attachment when there are in actual fact multiple attachments To do this select the Count items in a Dictionary from the Operations actions and add it to the workflow timeline Configuration for this item is shown in Figure 7 Figure 7 - Count items in a Dictionary
  • 12. Set Workflow Variable As the workflow progresses it is going to use a variable called LoopCount to work out how many times it needs to run a section of the workflow to ensure if there are multiple attachments they are all extracted For this drag the Set Workflow Variable action from the Operations action pane onto the workflow timeline and configure it as shown in Figure 8 Figure 8 - Set Workflow Variable
  • 13. Extract Attachments The next stage of the workflow is to extract the attachments from the list item. To achieve this the part of the workflow that extracts the attachment needs to loop for the amount of attachments that are in the list item. To start with drag the Loop N Times from the Logic and Flow action pane onto you workflow, the settings for the loop element are shown in Figure 9 Then add the actions shown on the left inside the loop element. The settings for each element inside the loop are shown in Figures 10 – 14 Figure 9 - Loop Count
  • 14. Figure 10 - Get an item from a dictionary (Attachment URL) Figure 11 - Get an item from a dictionary (Attachment Filename)
  • 15. Figure 12 - Upload File Figure 13 - Calculate loop value
  • 16. Figure 14 - Set temp loop count value What the above does is:  Finds the URL of the attachment  Find the attachment filename  Uploads the file to required location  Sets the temp loop count variable  Sets the loop count variable to the value of the temp loop count variable What all this does is loops through the upload process based on the number of attachments in the list item. Log History The final step is to log the action of the workflow to the history list. Drag the Log to History List from the Operations action pane and set it to whatever you want to log.
  • 17. Final Solution Your final workflow should look like the example on the left. All you need to do is assign it to the required list and set it to automatic of manual launch behaviour, which can be found in the settings page. Figure 15 - Workflow Settings