Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi Team,
Thanks for your support in advance.
In my work I have 20 - Nprinting Tasks, Present Each task running for every 1 hour in a day for 5 days(MON-FRI) for all the months.
Now i want custom Triggering:
In the following 5 months(JAN,FEB,APR,JUL,OCT) - Need to trigger for every 1 hour and
and in the remaining 7 Months(MAR,MAY,JUN,AUG,SEP,NOV,DEC) - need to trigger for every 12 hours.
how to achieve this type of custom triggering.
Hi,
You could create many different triggers one for each time interval:
1 In Schedule select Weekly and check the weekdays you need to run the trigger
2 In Daily Frequency select Repeat Every 1 and Hours from the drop-down menu. Of course customize it based on your needs of each different trigger. Note you can also set the starting and ending time on each day, for example if you want to run it only during working hours.
3 Set the end date
You have to manually create each trigger because there is not a clone feature. Each time interval needs to have its trigger.
Best Regards,
Ruggero
Hi,
To evaluate conditions a task must be run. Then, if the condition fails, the execution is stopped as you saw but the execution must start.
Best Regards,
Ruggero
Hi,
Create a two monthly triggers for Your requirement.
select the months accordingly.
Regards,
Raju
Hi Raju,
Thanks for your reply. I tried but we don't have such options to choose particular months. I am using NPrinting May 2023 Version.
Could you please tell how select particular months.
Schedule 1 (Every 1 Hour):
Create a new schedule.
Set the trigger to run every 1 hour.
Add a condition to check the current month.
Use the following condition.
Month(Today()) = 1 OR Month(Today()) = 2 OR Month(Today()) = 4 OR Month(Today()) = 7 OR Month(Today()) = 10
This condition will ensure that the trigger runs only in January, February, April, July, and October.
Schedule 2 (Every 12 Hours):
Create another schedule.
Set the trigger to run every 12 hours.
Add a condition to check the current month.
Use the following condition:
Month(Today()) = 3 OR Month(Today()) = 5 OR Month(Today()) = 6 OR Month(Today()) = 8 OR Month(Today()) = 9 OR Month(Today()) = 11 OR Month(Today()) = 12
This condition will ensure that the trigger runs only in March, May, June, August, September, November, and December.
Test the Setup:
Verify the schedules by running them manually or simulating the conditions for different months to ensure they trigger at the specified intervals.
Monitor and Adjust:
Monitor the triggers in the NPrinting Execution log to ensure they are firing as expected.
Make any necessary adjustments if you observe any discrepancies in the trigger times.
Summary:
5-Month Schedule (1 Hour): January, February, April, July, October.
7-Month Schedule (12 Hours): March, May, June, August, September, November, December.
By setting up these schedules in NPrinting, you can automate the report distribution based on your required custom timing for different months.
Please check and let me kn
ow if it it's working for you.
Hi,
You could create many different triggers one for each time interval:
1 In Schedule select Weekly and check the weekdays you need to run the trigger
2 In Daily Frequency select Repeat Every 1 and Hours from the drop-down menu. Of course customize it based on your needs of each different trigger. Note you can also set the starting and ending time on each day, for example if you want to run it only during working hours.
3 Set the end date
You have to manually create each trigger because there is not a clone feature. Each time interval needs to have its trigger.
Best Regards,
Ruggero
Hi Raju,
Thank you for your help.
1). I created two Task:-
a. For Reporting Month(For every 1 hour Trigger)
b. For Non Reporting Month(For every 12 hour Trigger).
2). Created two variable(One for reporting another one for Non Reporting )
a. v1 = if(Month(Today()) = 1 OR Month(Today()) = 2 OR Month(Today()) = 4 OR
Month(Today()) = 7 OR Month(Today()) = 10,1,0).
b. v2= if(Month(Today()) = 3 OR Month(Today()) = 5 OR Month(Today()) = 6 OR
Month(Today()) = 8 OR Month(Today()) = 9 OR Month(Today()) = 11 OR
Month(Today()) = 12,1,0).
3). Two Conditions based on variables are taken. Condition1 -> for Reporting Month and Condition 2 -> for Non Reporting Month
4). Task 1 -> Condition 1 Assigned and
Task 2 -> Condition 2 Assigned
5). But the Problem is two tasks are running, Condition satisfying Task is generating report and Condition failing Task also running, in the log giving error msg : ' Conditions evaluated to false for task '.
6). is there any way to stop running the 'Condition failing Task' without Running.
Hi,
To evaluate conditions a task must be run. Then, if the condition fails, the execution is stopped as you saw but the execution must start.
Best Regards,
Ruggero
Thanks Ruggero_Piccoli.