Selecting data from Excel and sending an email in UiPath











up vote
-1
down vote

favorite












I have an Excel sheet with multiple columns, e.g. names, values, etc..The table is in the following format:



enter image description here



I want to compare values from both columns 'Value1' and 'Value2', so if Value1-Value2 > 0 then send email to corresponding user with the selected data as an attachment, in this case to the user 'Lastname4, Firstname4' (one row only).



Also, can we create the email address on the fly based on the column 'Name' in UiPath? In Excel the formula to do so for the 1st row would be something like this: =CONCATENATE(TRIM(MID(A2&"."&A2;FIND(",";A2)+1;LEN(A2)));"@domain.com")



Thanks










share|improve this question
























  • What have you tried so far? idownvotedbecau.se/noattempt
    – Wolfgang Radl
    Nov 9 at 18:08










  • Managed to write the selected data to another Excel file using: Get Row Item, Add Data Row, Write Range and Build Data Table. But still struggling how to send the attachments to their corresponding users by emails.
    – Jasu
    Nov 9 at 20:09










  • You might want to update your original question to reflect that. Also, look into the Split() method for strings. You can just use it in any assign activity (docs.microsoft.com/en-us/dotnet/api/…).
    – Wolfgang Radl
    Nov 9 at 20:20















up vote
-1
down vote

favorite












I have an Excel sheet with multiple columns, e.g. names, values, etc..The table is in the following format:



enter image description here



I want to compare values from both columns 'Value1' and 'Value2', so if Value1-Value2 > 0 then send email to corresponding user with the selected data as an attachment, in this case to the user 'Lastname4, Firstname4' (one row only).



Also, can we create the email address on the fly based on the column 'Name' in UiPath? In Excel the formula to do so for the 1st row would be something like this: =CONCATENATE(TRIM(MID(A2&"."&A2;FIND(",";A2)+1;LEN(A2)));"@domain.com")



Thanks










share|improve this question
























  • What have you tried so far? idownvotedbecau.se/noattempt
    – Wolfgang Radl
    Nov 9 at 18:08










  • Managed to write the selected data to another Excel file using: Get Row Item, Add Data Row, Write Range and Build Data Table. But still struggling how to send the attachments to their corresponding users by emails.
    – Jasu
    Nov 9 at 20:09










  • You might want to update your original question to reflect that. Also, look into the Split() method for strings. You can just use it in any assign activity (docs.microsoft.com/en-us/dotnet/api/…).
    – Wolfgang Radl
    Nov 9 at 20:20













up vote
-1
down vote

favorite









up vote
-1
down vote

favorite











I have an Excel sheet with multiple columns, e.g. names, values, etc..The table is in the following format:



enter image description here



I want to compare values from both columns 'Value1' and 'Value2', so if Value1-Value2 > 0 then send email to corresponding user with the selected data as an attachment, in this case to the user 'Lastname4, Firstname4' (one row only).



Also, can we create the email address on the fly based on the column 'Name' in UiPath? In Excel the formula to do so for the 1st row would be something like this: =CONCATENATE(TRIM(MID(A2&"."&A2;FIND(",";A2)+1;LEN(A2)));"@domain.com")



Thanks










share|improve this question















I have an Excel sheet with multiple columns, e.g. names, values, etc..The table is in the following format:



enter image description here



I want to compare values from both columns 'Value1' and 'Value2', so if Value1-Value2 > 0 then send email to corresponding user with the selected data as an attachment, in this case to the user 'Lastname4, Firstname4' (one row only).



Also, can we create the email address on the fly based on the column 'Name' in UiPath? In Excel the formula to do so for the 1st row would be something like this: =CONCATENATE(TRIM(MID(A2&"."&A2;FIND(",";A2)+1;LEN(A2)));"@domain.com")



Thanks







uipath






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 9 at 9:08

























asked Nov 9 at 9:01









Jasu

558




558












  • What have you tried so far? idownvotedbecau.se/noattempt
    – Wolfgang Radl
    Nov 9 at 18:08










  • Managed to write the selected data to another Excel file using: Get Row Item, Add Data Row, Write Range and Build Data Table. But still struggling how to send the attachments to their corresponding users by emails.
    – Jasu
    Nov 9 at 20:09










  • You might want to update your original question to reflect that. Also, look into the Split() method for strings. You can just use it in any assign activity (docs.microsoft.com/en-us/dotnet/api/…).
    – Wolfgang Radl
    Nov 9 at 20:20


















  • What have you tried so far? idownvotedbecau.se/noattempt
    – Wolfgang Radl
    Nov 9 at 18:08










  • Managed to write the selected data to another Excel file using: Get Row Item, Add Data Row, Write Range and Build Data Table. But still struggling how to send the attachments to their corresponding users by emails.
    – Jasu
    Nov 9 at 20:09










  • You might want to update your original question to reflect that. Also, look into the Split() method for strings. You can just use it in any assign activity (docs.microsoft.com/en-us/dotnet/api/…).
    – Wolfgang Radl
    Nov 9 at 20:20
















What have you tried so far? idownvotedbecau.se/noattempt
– Wolfgang Radl
Nov 9 at 18:08




What have you tried so far? idownvotedbecau.se/noattempt
– Wolfgang Radl
Nov 9 at 18:08












Managed to write the selected data to another Excel file using: Get Row Item, Add Data Row, Write Range and Build Data Table. But still struggling how to send the attachments to their corresponding users by emails.
– Jasu
Nov 9 at 20:09




Managed to write the selected data to another Excel file using: Get Row Item, Add Data Row, Write Range and Build Data Table. But still struggling how to send the attachments to their corresponding users by emails.
– Jasu
Nov 9 at 20:09












You might want to update your original question to reflect that. Also, look into the Split() method for strings. You can just use it in any assign activity (docs.microsoft.com/en-us/dotnet/api/…).
– Wolfgang Radl
Nov 9 at 20:20




You might want to update your original question to reflect that. Also, look into the Split() method for strings. You can just use it in any assign activity (docs.microsoft.com/en-us/dotnet/api/…).
– Wolfgang Radl
Nov 9 at 20:20

















active

oldest

votes











Your Answer






StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");

StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














 

draft saved


draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53222615%2fselecting-data-from-excel-and-sending-an-email-in-uipath%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown






























active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes
















 

draft saved


draft discarded



















































 


draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53222615%2fselecting-data-from-excel-and-sending-an-email-in-uipath%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

How to pass form data using jquery Ajax to insert data in database?

National Museum of Racing and Hall of Fame

Guess what letter conforming each word