Identify Customer Portal or Customer in Workflow
Hello Fidel,
I want to set a variable in a custom field depending on the customer who raises a request in service desk. Therefor I'm looking for a way to identify the customer portal or the users organisation. Is there any possibility to do that?
Best regards Patrick
Comments (7)
-
repo owner -
reporter Hello Fidel,
yes, that should work! Just another question regarding this use case: do you know a proper data store where I can store customer/organisation specific values? I want to avoid to write that values into the post function.
-
repo owner You can use project properties provided you don't mind that the data is visible in the project's description.
You can retrieve the information stored in project properties using function projectProperty(property_name). This function can be used in post-function "Set a field as a function of other fields".
I can help you to build your setting rules if you give me more details.
-
reporter Perfect!
- I have setup a project property called "account".
- I want that property be written in the custom field "account" on create of the ticket.
I'm unsure how to use "Set a field as a function of other fields" in that case...
-
repo owner In order to set a field with the value of a project property you can simply use "Read a project property".
-
reporter Thank you! That was easy! ;-)
-
reporter - changed status to resolved
- Log in to comment
Hi Patrick,
JSD provides a locked custom field called "Organizations". This field is automatically set with the organization of the reporter. We can use this custom field in order to conditionally set another one.
You can use "Set a field as a function of other fields" post-function with a configuration like this:
Please, let me know if you have any doubt on this