Skip to main content

Notifications

Topic Creation & Management
Unanswered

Reset a variable

Posted on by 2

Hello,

I have a quick question. In the copilot studio, topics part.  I want to reset one of  my variables according to a condition.  But I could not find what to write, in the "set variable value " node,,  null or something else? 

 

thanks in advance

  • Pstork1 Profile Picture
    Pstork1 63,059 on at
    Re: Reset a variable

    Once a date has been set I don't think you can reset it other than to another date

  • birdenbire Profile Picture
    birdenbire 2 on at
    Re: Reset a variable

    thank you for your quick reply. My variale type is "date". I want to reset it, so the AI will ask it again. 

    I tried lots of things, bu does not worked. indeed I even could not find correct format to set the date to a different value.   Everytime it says it is string.


    Thanks in advance

  • Pstork1 Profile Picture
    Pstork1 63,059 on at
    Re: Reset a variable

    That depends on what type of variable it is.  If its a string set it to an empty string. If its a number set it to 0. for most other data types try null.

Helpful resources

Quick Links

Exciting News for Copilot Studio Communi…

Get ready to experience a whole new level of engagement with the Copilot Studio…

Celebrating the May Super User of the…

LaurensM is an exceptional contributor to the Power Platform Community…

Check out the Copilot Studio Cookbook…

We are excited to announce our new Copilot Cookbook Gallery in the Community…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 137,998

#2
RandyHayes Profile Picture

RandyHayes 76,308

#3
Pstork1 Profile Picture

Pstork1 63,059

Leaderboard

Featured topics