0

I have List and list workflow created on it. Workflow starts when newly item added or modified on list. That workflow updates one field of List while execution.

Now, Issue is, When user A add new Item and prove it and then workflow goes to user B for approval. Then user B also approves it. There are such 4-5 steps. But when I check Version history of Item, I see only Created By name (in this case A) instead of modified by.

Hope I describe the issue well. Urgent help needed.

Thanks

1

It sounds like the item version history does not record the 'workflow history'.

The workflow keeps a separate history for itself, this is not recorded on the List item. For instance in a document approval workflow it would not show the 4-5 approval steps, this history would be visible in the workflow but not the item history.

Update

This post has a similar issue to yours, there is no answer as such, but the Comments give some indications for solutions.

Back to your question, you say:

But when I check Version history of Item, I see only Created By name (in this case A) instead of modified by.

This is because the workflow is only showing the name of the person that initiated the workflow (this could be a user or a system account name). I would expect the 'Modified By' name would be the same as the 'Created By'. The changes made by users during the workflow only show in the workflow history and not the Item version history.

I must have been wrong when I previously said "the Modified By would only show if the workflow modified the item".

One thing you could try is looking in the item menu>select 'workflows'>click on the workflow you see here - there is a kind of history stored here. Maybe this info is useful to you? It is possible to edit the workflow if you wish to show additional info - you could use the 'LOG' command, so that if person 1 approves you could 'LOG - person one approval OK' and so on for each person.

If you use an APPROVAL workflow you could also try linking the workflow to a task list - this would generate Tasks for the users you specify and would also serve by giving you an additional kind of traceability.

  • Yes, I am updating fields in the list using workflow. – Prashant K Dec 12 '17 at 11:06
  • I've updated my answer - please note the final sentence, I must have been wrong about that part. – Tally Dec 12 '17 at 12:00
1

If a workflow updates an item, the user that started the workflow should be shown in the "modified by"-column. It could also be the workflow author in some cases.

If you want a history of changes, you could write any relevant changes in an extra field for that purpose. Every time a change workflow is triggered for example.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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