Last active
September 27, 2023 14:02
-
-
Save kitmenke/aededfe513384421aece to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<h1>Approval Tasks</h1> | |
<div id="ehi-approval-tasks"> | |
</div> | |
<script> | |
/* replace me with the stuff from above */ | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Awesome job! Here's a modified CAML query that will only display tasks that are Status = 'Not Started' and AssignedTo = [Me]:
<View><Query><Where><And><Eq><FieldRef Name="WorkflowItemId"/><Value Type="Number">{0}</Value></Eq><And><Eq><FieldRef Name="Status"/><Value Type="Choice">Not Started</Value></Eq><Eq><FieldRef Name="AssignedTo" /><Value Type="Integer"><UserID Type="Integer" /></Value></Eq></And></And></Where></Query><RowLimit>10</RowLimit></View>