private List<Content> getExpandedContents(final Request request) {

		List<Content> contents = request.getContents();
		final List<Variable> contextVariables = workflow.getContext().getVariables();

		for (Content content : contents) {

			print("Content :");

			if (content.getName() != null) {
				final String newName = VariableHelper.substituteVariables(content.getName(), contextVariables);
				content.setName(newName);

				print(" name="  + content.getName());
			}

			if (content.getType() != null) {
				final String newType = VariableHelper.substituteVariables(content.getType(), contextVariables);			
				content.setType(newType);

				print(" type="  + content.getType());
			}

			println();

			if (content.getValue() != null) {
				final String newValue = VariableHelper.substituteVariables(content.getValue(), contextVariables);			
				content.setValue(newValue.trim());

				println(content.getValue());
			}
		}

		return contents;
	}