[ANSWER] Transient data

Hello everybody,

I have read somewhere in the forum that I must used transient data to create and send the password of the account created. I think that with transient data, the password is encrypted in the log files (more secure) and not with normal variable. Is it true?

So, the question is the following: How define a transient data in a service task to send it in the email connector of the same service task. I have seen that normally in the General tab > Data, of the service task, I can choose both of data. But I use the Community version and only the normal data appears.

Thanks,
Sylvain

Hello,
I just double checked with Community 6.3 (to make sure before answering) and when I create a new data on a service task level, I get a check box “transient”. This is what you should tick in order to make your variable transient and you will then be able to use it in an email connector on the same service activity.
Let me know if you still have problems finding it,
Cheers,
Haris

Ok so If I understand correctly, this is the checkbox when I create a variable like it:

http://www.hostingpics.net/viewer.php?id=47956440DT.png

So one time it is called “Données Transiantes” (pool > data) and one time “Transitoire” (service task > Data creation). Hard to work with the French version if the name is different :slight_smile:

When I create it, it becomes “half visible”, is it normal?

http://www.hostingpics.net/viewer.php?id=467913Sanstitre.png

After creation of this variable, I have added an operation to create the password randomly:

http://www.hostingpics.net/viewer.php?id=130673DT2.png

To finish, I have added an email connector at the end of the process to send the password to the user. In the mail I can access to the variable created with : ${password}. The email is sent but when I look the logs, the password is not encrypted. This is not good. A solution?

My version is 6.3.1 and I don’t see this checkbox…

See following pic:
http://www.hostingpics.net/viewer.php?id=680078DataTransient.png

Yes, you are right, you understood it correctly. It is normal that that the name is in italic and “half-visible”, it indicates it is a transient data. I agree, french naming should be aligned on different places… :slight_smile:
We can consider that your transient data issue is resolved.
It would be best to open a different question for clear-text logs, as it is not really related to this topic, so someone else might help you more easily. But I can share my idea - if you change logging level to Warning instead of Info, it will not appear in logs (in production, you are advised not to leave it on Info, anyhow, it helps only during development phase).

Ok thank you very much.