Sharepoint Forum

 
Home » Forum » Sharepoint       Ask a questionRSS Feeds

SPD Workflow: update list item where...

  Asked By: Jay Pilgaonkar         Date: May 16, 2010      Category: Sharepoint      Views: 763
 

I am trying to put some logic in a workflow that updates a list item where
field1 = x and field2 = y. How do I do that?

Tagged:            

 

5 Answers Found

 
Answer #1       Answered By: Myron Calhoun          Answered On: May 16, 2010       


<Query>
<Where>
<And>
<Eq>
<FieldRef Name='City' />
<Value Type='Text'>Tallahassee</Value>
</Eq>
<Eq>
<FieldRef Name='State' />
<Value Type='Choice'>Florida</Value>
</Eq>
</And>
</Where>
</Query>

 
Answer #2       Answered By: Rena William          Answered On: May 16, 2010       

Ok, I will take a look at where to put  that. I have been using the GUI inteface
for all of my workflow, but I would love to get more under the hood. The GUI
only lets you do so much!

 
Answer #3       Answered By: Shanda Nolan          Answered On: May 16, 2010       

nested If condition..................

 
Answer #4       Answered By: Bailey Lewis          Answered On: May 16, 2010       

I must have missed this post! Is the nested If condition an included part of the
SPD workflow?

I saw a tutorial to add custom workflow  actions to SPD, but couldn't get the
code into my VM. Will try again today if I can't figure out the nested If.

 
Answer #5       Answered By: Quentin Cummings          Answered On: May 16, 2010       

As far as I know, spd  workflows don't support nested if condition. There
is something called workflow  Powerpack or so, which would allow you to write
custom C# code in SPD workflow.

 
Didn't find what you were looking for? Find more on SPD Workflow: update list item where... Or get search suggestion and latest updates.


Your Answer
  • Answer should be atleast 30 Characters.
  • Please put code inside [Code] your code [/Code].