In approval workflow in SPD 2013, after approving the task, the item is check out to the user who created it instead of approver group?

I have created an approval workflow in SPD 2013 and we have 5 SharePoint groups that have to approve the task one after another. My problem is, when the user creates a document in the library and check-in the document to start the workflow then the workflow sends a task to one of the groups, where they approve it and the approve group has to check-in the document, so that, the workflow moves to next group. Instead, after approving the task by approver, the item is check-out to the initiator (who created the document). So, how to make the item to check-in with approver group, after the task is approved?

How do you get current date to be added to a cell when a check box is checked in another cell

I want to get the current date added into a cell when a tick box is checked in another cell.

I currently have another formula in the date cell which changes its colour when the tick box is checked, but I also want the date automatically added at the same time as it changing colour.

The colour change is working using this formula, =COUNTIF(F12,”=Y”) I want the cell to automatically add the date too. Can anyone help with the additional formula and how do I combine them both?

Como tirar um polígono do mapa ao desabilitar o check box

Estou com um problema, tenho um código que insere um polígono circular que demarca um raio de 2 km cada ponto do mapa puxado de um banco de dados. O impasse está devido eu não conseguir exclui-lo do mapa ao desmarcar o check box.

Função que adiciona ao mapa:

function addMarker(fila)  {     var myLatlng = new google.maps.LatLng(fila.latitude, fila.longitude);   document.getElementById('check').addEventListener('click', function() {     if (this.checked)     {         demarcation(myLatlng, '#4D7AFF', '#4D7AFF', 3000);     }     else      {         demarcation(null);     }  }); 

Função demarcation

function demarcation(myLatlng, strokeColor, fillColor, radius)  {     var circle =      {         local:          {             center: {lat:, lng: myLatlng.lng()},         }  }     for(var local in circle)  {     var circleLatLong = new google.maps.Circle ({         strokeColor: strokeColor,         strokeOpacity: 0.8,         strokeWeight: 2,         fillColor: fillColor,         fillOpacity: 0.35,         map: map,         center: circle[local].center,         radius: radius     });     circleLatLong.setMap(map);  }   } 

Check if current time is within the timeframe using Joda-Time

Novice Java developer here. I’ve never really used a time/date library before and I’m curious how an experienced developer would solve this. You’re given 4 ints: startHour, startMinute, endHour and endMinute. Now, check if current time is within the given timeframe. Is there a more clean way of doing this than what I’ve done here:

private void checkTimeframe(int startHour, int startMinute, int endHour, int endMinute) {     LocalDateTime now =;     LocalTime localTimeStart = new LocalTime(startHour, startMinute);     LocalTime localTimeEnd = new LocalTime(endHour, endMinute);      LocalDateTime startTime = new LocalDateTime(now.getYear(), now.getMonthOfYear(),             now.getDayOfMonth(), startHour, startMinute);      LocalDateTime endTime = new LocalDateTime(now.getYear(), now.getMonthOfYear(),             now.getDayOfMonth(), endHour, endMinute);      //Check if start/end is, for instance, 23:00 - 03:00     if (localTimeStart.isAfter(localTimeEnd) || localTimeStart.equals(localTimeEnd)) {         endTime = endTime.plusDays(1);     }      if ( (now.equals(startTime) || now.isAfter(startTime) ) && now.isBefore(endTime)) {         System.out.println("Ok, we're within start/end");     } else {         System.out.println("Outside start/end");     } } 

Check if the current user is member of specific AD security group

following situation: I have kind of classification tree (with Managed Metadata) next to a document library. Now my customer came up with the idea “Hey, it would be nice, if you can hide parts of the classification tree by group memberships”. Alright then, created some new SharePoint groups and added the AD security group. And now? I already have a “script” (don’t bother me for the style, I’m not yet a developer and not even close to this). But this scans only for users in SharePoint group, not in AD security group.

<script src="/sites/intranet/_catalogs/masterpage/cusomter/Scripts/jquery-3.3.1.min.js"></script> <script type="text/javascript" src="/sites/intranet/_catalogs/masterpage/cusomter/Scripts/jquery.SPServices.min.js"></script> <script type="text/javascript"> $  (document).ready(function() {     $  ().SPServices(       {       operation: "GetGroupCollectionFromUser",       userLoginName: $  ().SPServices.SPGetCurrentUser(),       async: false,       completefunc: function(xData, Status) {           //If the current User does belong to the group "SharePoint Group Name"          if($  (xData.responseXML).find("Group[Name='GF']").length == 1)          {             // where circle1 is the id of div             $  ('a[title="GF"]').parent().parent().parent().parent().css("display", "block");             $  ('a[title="something special"]').parent().parent().parent().parent().css("display", "block");             console.log("member of GF")          }          else          {             $  ('a[title="GF"]').parent().parent().parent().parent().css("display", "none");             $  ('a[title="something special"]').parent().parent().parent().parent().css("display", "none");             console.log("not member of GF")          };           if($  (xData.responseXML).find("Group[Name='HR']").length == 1)          {             // where circle1 is the id of div             $  ('a[title="HR"]').parent().parent().parent().parent().css("display", "block");             console.log("member of HR");          }          else          {             $  ('a[title="HR"]').parent().parent().parent().parent().css("display", "none")             console.log("not member of HR");          }       }    }); }); </script> 

Is there an applicable way to achieve? Additionally I have to keep in mind, that the SharePoint is available via public internet. Maybe this will be my show stopper in the end, if I have to use LDAP calls?!

Needless to say that I already tried to import the “memberOf” attribute from AD to the user profile service. Unfortunately this field stays blank for all user, even after the 4th or 5th sync.

Assuming that everyone always performs a revocation check, do we still need expiration time in each certificate?

I understand that each public key certificate includes an expiration time, and a CRL is issued periodically, listing all currently revoked certificates. However, in class we were told to think about whether or not we still needed expiration time in each certificate assuming a revocation check is always performed. I feel like we would still need an expiration time in each certificate because then, how would we know when a certificate is revoked?

If anyone could help broaden my mindset, it would be much appreciated

How to check if DFA is actually a correct model of the intended system?

Suppose I have modeled a deterministic finite automaton of my system. How can I check if the traces generated by this system, actually represent the model I had in mind?

For example, say I have DFA A which models a vending machine. To ensure I did not model any wrong transitions, is coming up with (safety/liveness) specifications and performing verification the only method I can follow to ensure my model is correct? Many thanks.

Do you need to make a medicine check to use the second benefit of the Healer feat?

When you use a healer’s kit to stabilize a dying creature, that creature also regains 1 hit point.

As an action, you can spend one use of a healer’s kit to tend to a creature and restore 1d6 + 4 hit points to it, plus additional hit points equal to the creature’s maximum number of Hit Dice. The creature can’t regain hit points from this feat again until it finishes a short or long rest.

So, I know that a benefit from this feat is that you don’t have to make a medicine check in order to stabilize a creature however…for the second ability is a medicine check necessary in order to heal a creature?

I just got to use this feat for the first time yesterday and my DM had me roll a medicine check. Is this accurate? Or does it depend on the DM?