cancel
Showing results for 
Search instead for 
Did you mean: 
sonisick
Nintex Newbie

How do I know if a Workflow coming from a Create or Modify Event?

Jump to solution

Basically, I want to write one workflow to cover both situations. I; however, want to change some wording based on whether the workflow is coming from a create or a modification.

I don't want to stick another column in the list called "new item" and update it.

I think there's a way to do this--but I can't find it.

Labels: (2)
0 Kudos
Reply
16 Replies
Automation Master
Automation Master

Re: How do I know if a Workflow coming from a Create or Modify Event?

Jump to solution

Hmm.. well, I suppose that would depend. If you were requiring a major version update each time, you could look at the version column -- if 1.0, then this branch; if larger than 1.0, a different branch.

Would that work for you?

Reply
sonisick
Nintex Newbie

Re: How do I know if a Workflow coming from a Create or Modify Event?

Jump to solution

It's a thought. 

Thanks,

Stephan

0 Kudos
Reply
sonisick
Nintex Newbie

Re: How do I know if a Workflow coming from a Create or Modify Event?

Jump to solution

The particular library I'm using isn't being versioned. I probably could turn it on--but I'd like to find another way.

0 Kudos
Reply
Automation Master
Automation Master

Re: How do I know if a Workflow coming from a Create or Modify Event?

Jump to solution
Reply
Automation Master
Automation Master

Re: How do I know if a Workflow coming from a Create or Modify Event?

Jump to solution

This looks like a good alternative but it does recommend adding another column, which I think Stephan doesn't want to do.


That would have been my initial suggestion as well... but surely there must be something unique, by default, that a newly initiated form displays... hmm. I still can only think of ...

OH WAIT. What about Modified Date? If Modified Date is equal to Created Date? It would have to include time and be identical, but ... the only time that'd ever be true is on creation.

Would that work for you ‌ ?

Reply
Automation Master
Automation Master

Re: How do I know if a Workflow coming from a Create or Modify Event?

Jump to solution

Rhia Wieclawek, do you refer to the post marked as correct?

my suggestion there doesn't need any additional column in the list...

the link I provided should point directly to my post there, but sometimes browsers do not recognize/find an anchor within the page and end up at the top of page

I'm not aware of any OOTB reliable way to identify within workflow on what event it was started.

problem with modified/created dates are that

- they are just in minute-level precision. within a minute several changes can be be made.

- if items are created/updated from a program code, there are ways to do it so that version number and timestamps do not change

Reply
Automation Master
Automation Master

Re: How do I know if a Workflow coming from a Create or Modify Event?

Jump to solution

Ah yes, I see now - sorry, browser took me directly to the top post.

Reply
Automation Master
Automation Master

Re: How do I know if a Workflow coming from a Create or Modify Event?

Jump to solution

Good solution

Reply
Automation Master
Automation Master

Re: How do I know if a Workflow coming from a Create or Modify Event?

Jump to solution

thanks

0 Kudos
Reply