0

I have been struggling to create this workflow.

A list with a multiline text field with append changes needs to trigger a workflow that sends email to the creator.

It does not matter if the workflow sends the latest comment or all comments, I am fine with both.

The workflow is triggered only if the original creator writes the comments and not someone else (which is what I need).

The workflow gives me an error message saying that the message 'Retrying last request... Item does not exist. It may have been deleted by another user. '

It could be because as soon as you type a comment it immediately goes 'outside the box' and leaves the box empty. Still I do not get why it is sent when the author writes the comments.

I have tried to create a variable to copy past the comment in a non-append text field but I get the same result.

2
  • Question. You want to send email to 'Creator' when creator puts comment in the multiline comment box? Feb 8, 2017 at 18:22
  • 1
    Yes, I solved my problem and wrote it in the answer
    – susan
    Feb 9, 2017 at 8:31

3 Answers 3

0

If I understand your issue correctly, you'll have to create a workflow that gets triggered when an item is updated. In the workflow you can check if the modified user is the created user, if so send an email.

1
  • so is the workflow erroring out saying "item does not exist" every time? sorry i would have added these as comments under your post but my score isn't high enough :( Feb 7, 2017 at 15:32
0

You can possibly achieve this with the help of some JavaScript.

Method: 1. Add a multiline text field to the list and hide it with css 2. Add a script editor webpart with the following code(replace field IDs with your field IDs!) to the editform.aspx page 3. Use the hidden text field in your email workflow

<script>
window.onload = function (){
var fieldWithAppendedComments = document.getElementById("Notes_94c8569c-e53c-4e64-ba26-c7f7f127d318_$TextField_inplacerte");

fieldWithAppendedComments.onkeyup=function(){
    (document.getElementById("HiddenText_9180d4cc-a635-4631-934e-2437ea5ebc72_$TextField_inplacerte")).innerText=fieldWithAppendedComments.innerText;
};

}

</script>
0

So it turns out that whatever the problem was I solved it by using a 2010 template and impersonation step. The workflow as it is now works and I do not understand why it was not working before since the people involved all had elevated rights.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.