I’ve almost fully automated the set up of user training in our system, the last step being to assign a URL to a site, based on the trainee’s username, eg: mysite.training.org/username.
Unfortunately, the Add URL Trigger Action only seems to accept a hard coded value, I can’t pass it variables. Is that right?
Add URL
This action adds an additional URL to the asset.
Enter the URL that you want to add into the field provided and tick either HTTP or HTTPS.
Sadly, the Set Attribute action for Site assets only allows Name, and a couple of other obscure attributes (not_found_page_cache_globally, available_conditions), so that’s not an option.
I was so puzzled by your comment about a release in 5.4.3.0, until I realised I’d transposed the 3 and 1 in our Matrix version on my original message - d’oh!
Again, I guess I can wait - just want to keep this trigger small and self contained.
You could use set attribute (url_suffix ) to append query parameter to the end of the URL (e.g. ?user=[username]) and then use that value to handle your custom actions (e.g. create page asset with their name etc.)
Alternatively, you could use create asset action to create the user’s page and then redirect them to that page.