I'd liket to create a script task in a business process, that given an email template, it executes it on a specific context. I mean, if the email template is based on a custom macro related with the Lead entity, I can pass the LeadID and the emailTemplateId to the script task, and the result is the text of the email template executed for that specific lead.
I want to use function that are not included in System library/package.
I need to add the following in order to use the functions.
using System.Linq;
I tried adding this to the script but got an error message: " Feature 'using declarations' is not available in C# 7.3. Please use language version 8.0 or greater."
Is there a way to add the 'System.Linq' somewhere?
In the previous versions of Creatio, In the User Task element there was the Script where you could implement the task logic, as shown in the image below
In which part of the User Task Source code , in the 7.18 Version of Creatio, should I implement the same logic ?
При попытке добавления блока с пользовательским кодом возникает ошибка
An attempt to add a script task causes an error
System.InvalidCastException: Specified cast is not valid.
at Terrasoft.Core.Process.ProcessModel.GetParameterValue[T](FoundParameterData result)
at Terrasoft.Core.Process.Process1MethodsWrapper...
By the way, if there is a list of data type matches for decimal values (as I understood, float does not match all of them), I would really appreciate...MoreLess
Can some one suggest a better approach to loop through multiple records and modify them. Please note that the trigger is coming from Signal (Record Added).
Basically, I am trying to add multiple records using Multi-select lookup detail built using LookupMultiAddMixin.