question

LopezAhiezer-8335 avatar image
0 Votes"
LopezAhiezer-8335 asked LopezAhiezer-8335 commented

Why is the field value in the list blank after assigning to a variable?

First off, I have zero experience with sharepoint designer.

The issue that I am trying to fix is when an email is sent. When an email is sent, there is nothing for the production number, its blank for all emails that are sent out. From what I understand the workflow seen below is where this production number gets assigned to a variable and then to a field within a list. This data is first seen in this Data Lookup table. The PrdOrder value is assigned to the variable and then to what I am trying to PRD ID which is located in the list seen below. Issue with that is that its blank. I don't know why the PRD ID field is blank.


![182002-image.png][2]


181975-image.png

181910-image.png

181969-image.png


[2]: /answers/storage/attachments/182003-image.png

sharepoint-devoffice-sharepoint-server-developmentsharepoint-workflow
image.png (41.4 KiB)
image.png (34.4 KiB)
image.png (45.6 KiB)
image.png (18.3 KiB)
· 3
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @LopezAhiezer-8335,

Thank you for your question. We will give you an update as soon as possible. Thank you for your understanding and support.

0 Votes 0 ·

Hi,
please check result of concatenation of [%Current Item:SO Number%][%Current Item:SO Line%]

0 Votes 0 ·

Thanks for replying.

For some reason, this doesn't seem to send out emails anymore. I haven't made any significant changes and even then I delete them if I see that my idea didnt work. Because the emails aren't being sent I can't check what [%Current Item:SO Number%][%Current Item:SO Line%] does.

0 Votes 0 ·

1 Answer

CaseyYangMSFT-4714 avatar image
0 Votes"
CaseyYangMSFT-4714 answered LopezAhiezer-8335 commented

Hi @LopezAhiezer-8335,

Do you want to get value from ProOrder and set value to PRP ID? If so you have to change workflow to If Current Item:PRP ID is empty Set Data Lookup:PrdOrder to PRP ID.


If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Thanks for replying.

How would I do that? I have this set command right above the one that already exists (I will delete the old, just have it there for reference).

As you can see from the set command, I need to select a field, but the trouble is that I can't input the Data Lookup:PrdOrder there.

I can only choose already existing fields. Am I using the wrong set command?


182325-image.png

182237-image.png


0 Votes 0 ·
image.png (64.4 KiB)

Also, could it be that I am using an outdated command? I found out that there was an outdated command in some other workflow that is used in sharepoint 2010 but no in 2013. The picture below shows the entire workflow. Also it seems like the workflow gets stuck in this workflow for some reason. As you can see from the second picture the New Item Process workflow gets stuck in the Prod Details Lookup stage (the one being discussed).



182308-image.png

182309-image.png


0 Votes 0 ·
image.png (69.4 KiB)
image.png (23.9 KiB)