Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

Dynamic filename in write document step

Hi, i've done a script the record a message from the caller, after that it is written on a file with the write document step,

but i've configured a static filename (registration.wav)

so, every time a caller record a message, the file registration.wav will be overwritten,

so how i can configure a dynamic filename in write document properties?

Thank so much,

Claudio.

3 REPLIES

Re: Dynamic filename in write document step

Here is a idea. Filename is a string value. You can concatenate like a sessionID and/or DateTime etc to make the file name unique. So, you use the Set variable to set the filename

set strFileName = "registration-" + strSessionId +"-" + strDateTime + ".wav"

The sessionID will make the file unique. Just be careful to keep an eye on the disk space.

Re: Dynamic filename in write document step

Here is a sample script that I created. Check it out and let me know if it helps

New Member

Re: Dynamic filename in write document step

Thanks so much for your quick response, i'll try it asap.

Best regard and thanks again.

Claudio.

165
Views
5
Helpful
3
Replies